Newton Dynamics  4.00
ndPolyhedraMassProperties Class Reference
Inheritance diagram for ndPolyhedraMassProperties:
ndClassAlloc

Public Member Functions

D_CORE_API void AddCGFace (ndInt32 indexCount, const ndVector *const faceVertex)
 
D_CORE_API void AddInertiaFace (ndInt32 indexCount, const ndVector *const faceVertex)
 
D_CORE_API void AddInertiaAndCrossFace (ndInt32 indexCount, const ndVector *const faceVertex)
 
D_CORE_API ndFloat32 MassProperties (ndVector &cg, ndVector &inertia, ndVector &crossInertia)
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty default constructor.
 
 ~ndClassAlloc ()
 Empty.
 

Additional Inherited Members

- Static Public Member Functions inherited from ndClassAlloc
D_OPERATOR_NEW_AND_DELETE static D_CORE_API void * Malloc (size_t size)
 Generic allocation for any function subclass from ndClassAlloc.
 
static D_CORE_API void Free (void *const ptr)
 Generic destruction for any function subclass from ndClassAlloc.