97 bool CleanUp(uint32_t& addedPoints);
CircularListElement class.
Definition: vhacdCircularList.h:36
Definition: vhacdICHull.h:44
CircularListElement< TMMTriangle > * MakeFace(CircularListElement< TMMVertex > *v0, CircularListElement< TMMVertex > *v1, CircularListElement< TMMVertex > *v2, CircularListElement< TMMTriangle > *fold)
MakeFace creates a new face structure from three vertices (in ccw order). It returns a pointer to the...
Definition: vhacdICHull.cpp:467
TMMesh & GetMesh()
Returns the computed mesh.
Definition: vhacdICHull.h:50
bool CleanVertices(uint32_t &addedPoints)
Definition: vhacdICHull.cpp:726
TMMesh m_mesh
Definition: vhacdICHull.h:104
ICHull()
Constructor.
Definition: vhacdICHull.cpp:38
bool AddPoint(const Vec3< double > &point)
Add one point to the convex-hull.
Definition: vhacdICHull.h:52
bool ComputePointVolume(double &totalVolume, bool markVisibleFaces)
Definition: vhacdICHull.cpp:541
~ICHull(void)
Destructor.
Definition: vhacdICHull.h:69
static const double sc_eps
Definition: vhacdICHull.h:46
bool m_isFlat
Definition: vhacdICHull.h:109
bool CleanUp(uint32_t &addedPoints)
Definition: vhacdICHull.cpp:676
bool MakeCCW(CircularListElement< TMMTriangle > *f, CircularListElement< TMMEdge > *e, CircularListElement< TMMVertex > *v)
Definition: vhacdICHull.cpp:637
bool CleanTriangles()
Definition: vhacdICHull.cpp:715
bool IsFlat()
Definition: vhacdICHull.h:48
ICHullError Process()
Definition: vhacdICHull.cpp:66
Vec3< double > m_normal
Definition: vhacdICHull.h:108
bool AddPoints(const Vec3< double > *points, size_t nPoints)
Add points to the convex-hull.
Definition: vhacdICHull.cpp:39
void Clear()
Definition: vhacdICHull.cpp:761
bool ProcessPoint()
Definition: vhacdICHull.cpp:597
bool IsInside(const Vec3< double > &pt0, const double eps=0.0)
Definition: vhacdICHull.cpp:781
ICHull(const ICHull &rhs)
SArray< CircularListElement< TMMEdge > * > m_edgesToDelete
Definition: vhacdICHull.h:105
static const int32_t sc_dummyIndex
Definition: vhacdICHull.h:103
SArray< CircularListElement< TMMEdge > * > m_edgesToUpdate
Definition: vhacdICHull.h:106
const ICHull & operator=(ICHull &rhs)
Definition: vhacdICHull.cpp:769
CircularListElement< TMMTriangle > * MakeConeFace(CircularListElement< TMMEdge > *e, CircularListElement< TMMVertex > *v)
Definition: vhacdICHull.cpp:507
SArray< CircularListElement< TMMTriangle > * > m_trianglesToDelete
Definition: vhacdICHull.h:107
bool FindMaxVolumePoint(const double minVolume=0.0)
Definition: vhacdICHull.cpp:362
bool CleanEdges()
Definition: vhacdICHull.cpp:683
ICHullError DoubleTriangle()
Definition: vhacdICHull.cpp:399
SArray.
Definition: vhacdSArray.h:42
triangular manifold mesh data structure.
Definition: vhacdManifoldMesh.h:117
Vector dim 3.
Definition: vhacdVector.h:37
ICHullError
Incremental Convex Hull algorithm (cf. http://cs.smith.edu/~orourke/books/ftp.html ).
Definition: vhacdICHull.h:36
@ ICHullErrorCoplanarPoints
Definition: vhacdICHull.h:38
@ ICHullErrorOK
Definition: vhacdICHull.h:37
@ ICHullErrorNoVolume
Definition: vhacdICHull.h:39
@ ICHullErrorNotEnoughPoints
Definition: vhacdICHull.h:41
@ ICHullErrorInconsistent
Definition: vhacdICHull.h:40
Definition: bullet_cast_bvh_manager.h:49
std::vector< std::string > v2
Definition: tesseract_common_unit.cpp:418
v1["1"]
Definition: tesseract_common_unit.cpp:434
v
Definition: tesseract_common_unit.cpp:369