decompPoly
Engine/source/math/util/decomposePoly.h
Private Attributes
Protected Functions
addRemoveEdge(U8 idx1, U8 idx2)
formTriFromEdges(U8 idx1, U8 idx2)
bool
isVertInEdgeList(U8 idx)
leftmostInsideVerts(U8 idx1, U8 idx2)
lowermostInsideVerts(U8 idx1, U8 idx2)
rightmostInsideVerts(U8 idx1, U8 idx2)
uppermostInsideVerts(U8 idx1, U8 idx2)
Public Functions
Detailed Description
Private Attributes
Vector< twoIndices > mEdgeList
Vector< U8 > mInsideVerts
decompTri mTestTri
Vector< decompTri > mTris
Vector< Point3F > mVertList
Protected Functions
addRemoveEdge(U8 idx1, U8 idx2)
findEdges(U8 idx, bool & notUnique)
findPointsInside()
formTriFromEdges(U8 idx1, U8 idx2)
initEdgeList()
isInside(decompTri & tri, U8 vertIdx)
isVertInEdgeList(U8 idx)
leftmost()
leftmostInsideVerts(U8 idx1, U8 idx2)
lowermost()
lowermostInsideVerts(U8 idx1, U8 idx2)
rightmost()
rightmostInsideVerts(U8 idx1, U8 idx2)
sameSide(Point3F & p1, Point3F & p2, Point3F & l1, Point3F & l2)
uppermost()
uppermostInsideVerts(U8 idx1, U8 idx2)
Public Functions
addVert(Point3F & newVert)
checkEdgeLength(F32 len)
decompose()
getNumTris()
getNumVerts()
getTriIdx(U32 tri, U8 idx)
getVert(U8 idx)
newPoly()