Newton Dynamics  4.00
ndDelaunayTetrahedralization Class Reference
Inheritance diagram for ndDelaunayTetrahedralization:
ndConvexHull4d ndList< ndConvexHull4dTetraherum > ndClassAlloc

Public Member Functions

D_CORE_API ndDelaunayTetrahedralization (const ndFloat64 *const vertexCloud, ndInt32 count, ndInt32 strideInByte, ndFloat64 distTol)
 
D_CORE_API void RemoveUpperHull ()
 
D_CORE_API ndInt32 AddVertex (const ndBigVector &vertex)
 
- Public Member Functions inherited from ndConvexHull4d
D_CORE_API ndConvexHull4d (const ndConvexHull4d &source)
 
D_CORE_API ndConvexHull4d (const ndFloat64 *const vertexCloud, ndInt32 strideInBytes, ndInt32 count, ndFloat64 distTol)
 
ndInt32 GetVertexCount () const
 
ndInt32 GetVertexIndex (ndInt32 i) const
 
const ndBigVectorGetVertex (ndInt32 i) const
 
const ndConvexHull4dVectorGetHullVertexArray () const
 
ndFloat64 GetTetraVolume (const ndConvexHull4dTetraherum *const tetra) const
 
ndInt32 IncMark ()
 
void Save (const char *const filename) const
 
- Public Member Functions inherited from ndList< ndConvexHull4dTetraherum >
 operator ndInt32 () const
 
ndInt32 GetCount () const
 
ndNode * GetLast () const
 
ndNode * GetFirst () const
 
ndNode * Append ()
 
ndNode * Append (ndNode *const node)
 
ndNode * Append (const ndConvexHull4dTetraherum &element)
 
ndNode * Addtop ()
 
ndNode * Addtop (ndNode *const node)
 
ndNode * Addtop (const ndConvexHull4dTetraherum &element)
 
void RotateToEnd (ndNode *const node)
 
void RotateToBegin (ndNode *const node)
 
void InsertAfter (ndNode *const root, ndNode *const node)
 
void InsertBefore (ndNode *const root, ndNode *const node)
 
ndNode * Find (const ndConvexHull4dTetraherum &element) const
 
ndNode * GetNodeFromInfo (ndConvexHull4dTetraherum &m_info) const
 
void Remove (ndNode *const node)
 
void Remove (const ndConvexHull4dTetraherum &element)
 
void RemoveAll ()
 
void Merge (ndList< ndConvexHull4dTetraherum, ndContainersAlloc< ndConvexHull4dTetraherum > > &list)
 
void Unlink (ndNode *const node)
 
bool SanityCheck () const
 
- Public Member Functions inherited from ndClassAlloc
 ndClassAlloc ()
 Empty default constructor.
 
 ~ndClassAlloc ()
 Empty.
 

Protected Member Functions

D_CORE_API void SortVertexArray ()
 
virtual D_CORE_API void DeleteFace (ndNode *const node)
 
- Protected Member Functions inherited from ndConvexHull4d
void BuildHull (const ndFloat64 *const vertexCloud, ndInt32 strideInBytes, ndInt32 count, ndFloat64 distTol)
 
virtual ndInt32 InitVertexArray (ndConvexHull4dVector *const points, const ndFloat64 *const vertexCloud, ndInt32 strideInBytes, ndInt32 count, void *const memoryPool, ndInt32 maxMemSize)
 
virtual ndNode * AddFace (ndInt32 i0, ndInt32 i1, ndInt32 i2, ndInt32 i3)
 
ndNode * FindFacingNode (const ndBigVector &vertex)
 
void InsertNewVertex (ndInt32 vertexIndex, ndNode *const frontFace, ndTempList &deletedFaces, ndTempList &newFaces)
 
ndInt32 SupportVertex (ndConvexHull4dAABBTreeNode **const tree, const ndConvexHull4dVector *const points, const ndBigVector &dir, const bool removeEntry=true) const
 
void CalculateConvexHull (ndConvexHull4dAABBTreeNode *vertexTree, ndConvexHull4dVector *const points, ndInt32 count, ndFloat64 distTol)
 
void LinkSibling (ndNode *node0, ndNode *node1) const
 
bool Sanity () const
 
ndConvexHull4dAABBTreeNodeBuildTree (ndConvexHull4dAABBTreeNode *const parent, ndConvexHull4dVector *const points, ndInt32 count, ndInt32 baseIndex, ndInt8 **const memoryPool, ndInt32 &maxMemSize) const
 

Additional Inherited Members

- Static Public Member Functions inherited from ndList< ndConvexHull4dTetraherum >
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.
 
- Static Protected Member Functions inherited from ndConvexHull4d
static const ndNormalMapGetNormaMap ()
 
- Protected Attributes inherited from ndConvexHull4d
ndInt32 m_mark
 
ndInt32 m_count
 
ndFloat64 m_diag
 
ndArray< ndConvexHull4dVectorm_points