Newton Dynamics  4.00
ndBodyKinematic::ndContactMap Class Reference
Inheritance diagram for ndBodyKinematic::ndContactMap:
ndTree< ndContact *, ndContactkey, ndContainersFreeListAlloc< ndContact * > > ndClassAlloc

Public Member Functions

D_COLLISION_API ndContactFindContact (const ndBody *const body0, const ndBody *const body1) const
 
- Public Member Functions inherited from ndTree< ndContact *, ndContactkey, ndContainersFreeListAlloc< ndContact * > >
 operator ndInt32 () const
 
ndInt32 GetCount () const
 
ndNode * GetRoot () const
 
ndNode * Minimum () const
 
ndNode * Maximum () const
 
ndNode * Find (const ndContactkey &key) const
 
ndNode * FindGreater (const ndContactkey &key) const
 
ndNode * FindLessEqual (const ndContactkey &key) const
 
ndNode * FindGreaterEqual (const ndContactkey &key) const
 
ndNode * FindCreate (const ndContactkey &key, bool &wasFound)
 
ndNode * GetNodeFromInfo (ndContact * &info) const
 
ndNode * Insert (const ndContactkey &key)
 
ndNode * Insert (ndNode *const node, const ndContactkey &key)
 
ndNode * Insert (const ndContact * &element, const ndContactkey &key)
 
ndNode * Insert (const ndContact * &element, const ndContactkey &key, bool &wasFound)
 
ndNode * Replace (ndContact * &element, const ndContactkey &key)
 
ndNode * ReplaceKey (const ndContactkey &oldKey, const ndContactkey &newKey)
 
ndNode * ReplaceKey (ndNode *const node, const ndContactkey &key)
 
void RemoveAll ()
 
void Remove (const ndContactkey &key)
 
void Remove (ndNode *const node)
 
void Unlink (ndNode *const node)
 
void SwapInfo (ndTree &tree)
 
bool SanityCheck () const
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty default constructor.
 
 ~ndClassAlloc ()
 Empty.
 

Friends

class ndBodyKinematic
 

Additional Inherited Members

- Static Public Member Functions inherited from ndTree< ndContact *, ndContactkey, ndContainersFreeListAlloc< ndContact * > >
static void FlushFreeList ()
 
- 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.