Newton Dynamics  4.00
ndContactSolver Class Reference
Inheritance diagram for ndContactSolver:
ndDownHeap< ndMinkFace *, ndFloat32 > ndHeap< ndMinkFace *, ndDownHeapCompare< ndFloat32 > > ndClassAlloc

Classes

class  ndBoxBoxDistance2
 

Public Member Functions

D_COLLISION_API void CalculateContacts (const ndShapeInstance *const shapeA, const ndMatrix &matrixA, const ndVector &velocA, const ndShapeInstance *const shapeB, const ndMatrix &matrixB, const ndVector &velocB, ndFixSizeArray< ndContactPoint, 16 > &contactOut, ndContactNotify *const notification)
 
- Public Member Functions inherited from ndDownHeap< ndMinkFace *, ndFloat32 >
 ndDownHeap (ndInt32 maxElements)
 
 ndDownHeap (const void *const buffer, ndInt32 sizeInBytes)
 
ndFloat32 Value (ndInt32 i=0) const
 
- Public Member Functions inherited from ndHeap< ndMinkFace *, ndDownHeapCompare< ndFloat32 > >
 ndHeap (ndInt32 maxElements)
 
 ndHeap (const void *const buffer, ndInt32 sizeInBytes)
 
void Flush ()
 
ndDownHeapCompare< ndFloat32 > MaxValue () const
 
ndDownHeapCompare< ndFloat32 > Value (ndInt32 i=0) const
 
ndInt32 GetCount () const
 
ndInt32 GetMaxCount () const
 
const ndMinkFace * & operator[] (ndInt32 i) const
 
ndInt32 Find (ndMinkFace * &obj)
 
ndInt32 Find (ndDownHeapCompare< ndFloat32 > key)
 
void Pop ()
 
void Sort ()
 
void Remove (ndInt32 Index)
 
void Push (ndMinkFace * &obj, ndDownHeapCompare< ndFloat32 > key)
 
bool SanityCheck ()
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty default constructor.
 
 ~ndClassAlloc ()
 Empty.
 

Friends

class ndScene
 
class ndShapeConvex
 
class ndShapeInstance
 
class ndPolygonMeshDesc
 
class ndConvexCastNotify
 
class ndShapeConvexPolygon
 
class ndBodyPlayerCapsuleContactSolver
 

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.
 
- Protected Attributes inherited from ndHeap< ndMinkFace *, ndDownHeapCompare< ndFloat32 > >
dRecord * m_pool
 
ndInt32 m_curCount
 
ndInt32 m_maxCount
 
bool m_bufferIsOwnned