Class Sphere

Class Documentation

class Sphere

Public Functions

Sphere() = default
Sphere(double &sphere_radius, puma::Vec3<double> &center_point)
bool setValues(double &sphere_radius, puma::Vec3<double> &center_point)
short getGrayValue(int i, int j, int k)
bool randomParameters(RandomSpheresInput &input, sitmo::prng_engine *engine)
double approximateVolume(RandomSpheresInput &input)
bool doesSphereIntersect(puma::Workspace *sphereWS)
bool addSphereToDomain(puma::Workspace *sphereWS)
long getXMin()
long getXMax()
long getYMin()
long getYMax()
long getZMin()
long getZMax()
double distanceFromCenter(puma::Vec3<double> &voxel_point, puma::Vec3<double> &center_point)

Public Members

puma::Vec3<double> center_point
double sphere_radius = {}