Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
BoundingSphere Class Reference

This defines a bounding sphere, consisting of a center and a radius. More...

Inheritance diagram for BoundingSphere:
FiniteBoundingVolume GeometricBoundingVolume BoundingVolume TypedReferenceCount TypedObject ReferenceCount

List of all members.

Public Member Functions

 BoundingSphere ()
 Constructs an empty sphere.
 BoundingSphere (Point3 const center, float radius)
 Constructs a specific sphere.
Point3 getCenter ()
float getRadius ()
 operator new (unsigned int size)

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

This defines a bounding sphere, consisting of a center and a radius.

It is always a sphere, and never an ellipsoid or other quadric.


Constructor & Destructor Documentation

Constructs an empty sphere.

BoundingSphere ( Point3 const  center,
float  radius 
)

Constructs a specific sphere.


Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from FiniteBoundingVolume.

float getRadius ( )
operator new ( unsigned int  size)
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties