#include <FCDPhysicsAnalyticalGeometry.h>
Inheritance diagram for FCDPASBox:
Public Member Functions | |
FCDPASBox (FCDocument *document) | |
Constructor: do not use directly. | |
virtual | ~FCDPASBox () |
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 box into a clone. | |
Public Attributes | |
FMVector3 | halfExtents |
Half extents of the box in 3 dimensions. |
|
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 box into a clone.
Reimplemented from FCDPhysicsAnalyticalGeometry. |
|
Retrieves the analytical geometry type for this class.
Implements FCDPhysicsAnalyticalGeometry. |