#include <FCDPhysicsAnalyticalGeometry.h>
Inheritance diagram for FCDPASSphere:
Public Member Functions | |
FCDPASSphere (FCDocument *document) | |
Constructor: do not use directly. | |
virtual | ~FCDPASSphere () |
Destructor. | |
virtual GeomType | GetGeomType () const |
Retrieves the analytical geometry type for this class. | |
virtual float | CalculateVolume () const |
Calculates the volume of this analytical geometry. | |
virtual FCDEntity * | Clone (FCDEntity *clone=NULL, bool cloneChildren=false) const |
Copies the physics sphere into a clone. | |
Public Attributes | |
float | radius |
The radius of the sphere. |
|
Constructor: do not use directly. Create new analytical geometries by using FCDPhysicsShape::CreateAnalyticalGeometry function.
|
|
Calculates the volume of this analytical geometry.
Implements FCDPhysicsAnalyticalGeometry. |
|
Copies the physics sphere into a clone.
Reimplemented from FCDPhysicsAnalyticalGeometry. |
|
Retrieves the analytical geometry type for this class.
Implements FCDPhysicsAnalyticalGeometry. |