#include <FCDPhysicsAnalyticalGeometry.h>
Inheritance diagram for FCDPhysicsAnalyticalGeometry:
Public Types | |
enum | GeomType { BOX, PLANE, SPHERE, CYLINDER, CAPSULE, TAPERED_CYLINDER, TAPERED_CAPSULE } |
The geometry type of the analytical geometry class. More... | |
Public Member Functions | |
FCDPhysicsAnalyticalGeometry (FCDocument *document) | |
Constructor: do not use directly. | |
virtual | ~FCDPhysicsAnalyticalGeometry () |
Destructor. | |
virtual Type | GetType () const |
Retrieves the entity type for this class. | |
virtual GeomType | GetGeomType () const =0 |
Retrieves the analytical geometry type for this class. | |
virtual float | CalculateVolume () const =0 |
Calculates the volume of this analytical geometry. | |
virtual FCDEntity * | Clone (FCDEntity *clone=NULL, bool cloneChildren=false) const |
Copies the analytical geometry into a clone. |
|
The geometry type of the analytical geometry class. Used this information to up-cast an entity instance. |
|
Constructor: do not use directly. Create new analytical geometries by using FCDPhysicsShape::CreateAnalyticalGeometry function.
|
|
Calculates the volume of this analytical geometry.
Implemented in FCDPASBox, FCDPASPlane, FCDPASSphere, FCDPASCylinder, FCDPASCapsule, FCDPASTaperedCapsule, and FCDPASTaperedCylinder. |
|
Copies the analytical geometry into a clone.
Reimplemented from FCDEntity. Reimplemented in FCDPASBox, FCDPASPlane, FCDPASSphere, FCDPASCylinder, FCDPASCapsule, and FCDPASTaperedCylinder. |
|
Retrieves the analytical geometry type for this class.
Implemented in FCDPASBox, FCDPASPlane, FCDPASSphere, FCDPASCylinder, FCDPASCapsule, FCDPASTaperedCapsule, and FCDPASTaperedCylinder. |
|
Retrieves the entity type for this class. This function is part of the FCDEntity interface.
Reimplemented from FCDEntity. |