#include <FCDPhysicsAnalyticalGeometry.h>
Inheritance diagram for FCDPASCylinder:
Public Member Functions | |
FCDPASCylinder (FCDocument *document) | |
Constructor: do not use directly. | |
virtual | ~FCDPASCylinder () |
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 cylinder into a clone. | |
Public Attributes | |
float | height |
The height of the cylinder. | |
FMVector2 | radius |
The radius in the X direction and Z direction of the cylinder. |
|
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 FCDPASTaperedCylinder. |
|
Copies the physics cylinder into a clone.
Reimplemented from FCDPhysicsAnalyticalGeometry. Reimplemented in FCDPASTaperedCylinder. |
|
Retrieves the analytical geometry type for this class.
Implements FCDPhysicsAnalyticalGeometry. Reimplemented in FCDPASTaperedCylinder. |