Defines the class to handle the geometry primitive "Sphere" with a radius and a center point.
void setCenter(const Vector3 &c)
Set center of the sphere to c.
const Vector3 & getCenter() const
Returns the current center of the sphere.
double getRadius() const
Returns the current radius of the sphere.
void setRadius(double r)
Set radius of the sphere to r.
Sphere(const Vector3 &c, double r)
Constructor which defines a sphere with center point c and radius r.
Sphere()
Constructor. Default is center at (0,0,0) and radius 0.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.