#include <FCDPhysicsAnalyticalGeometry.h>
Inheritance diagram for FCDPASCapsule:
Public Member Functions | |
FCDPASCapsule (FCDocument *document) | |
Constructor: do not use directly. | |
virtual | ~FCDPASCapsule () |
Desctructor. | |
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 capsule into a clone. | |
Public Attributes | |
float | height |
The height of the capsule. | |
FMVector2 | radius |
The radius in the X direction and Z direction of the capsule. |
|
Constructor: do not use directly. Create new analytical geometries by using FCDPhysicsShape::CreateAnalyticalGeometry function.
|
|
Calculates the volume of this analytical geometry.
Implements FCDPhysicsAnalyticalGeometry. Reimplemented in FCDPASTaperedCapsule. |
|
Copies the physics capsule into a clone.
Reimplemented from FCDPhysicsAnalyticalGeometry. |
|
Retrieves the analytical geometry type for this class.
Implements FCDPhysicsAnalyticalGeometry. Reimplemented in FCDPASTaperedCapsule. |