BoundingSphere
-
class BoundingSphere
Bases:
FiniteBoundingVolume
This defines a bounding sphere, consisting of a center and a radius. It is always a sphere, and never an ellipsoid or other quadric.
Inheritance diagram
-
BoundingSphere(void)
-
explicit BoundingSphere(LPoint3 const ¢er, PN_stdfloat radius)
Constructs an empty sphere.
Constructs a specific sphere.
-
static TypeHandle get_class_type(void)
-
PN_stdfloat get_radius(void) const
-
void set_radius(PN_stdfloat radius)
Sets the radius of the sphere.
-
bool validate_ptr(void const *ptr)
-
BoundingSphere(void)