Classes | Public Member Functions | Protected Member Functions | List of all members
TriangulatorPartition Class Reference

Classes

struct  Diagonal
 
struct  DPState
 
struct  DPState2
 
struct  MonotoneVertex
 
struct  PartitionVertex
 
struct  ScanLineEdge
 
struct  VertexSorter
 

Public Member Functions

int RemoveHoles (List< TriangulatorPoly > *inpolys, List< TriangulatorPoly > *outpolys)
 
int Triangulate_EC (TriangulatorPoly *poly, List< TriangulatorPoly > *triangles)
 
int Triangulate_EC (List< TriangulatorPoly > *inpolys, List< TriangulatorPoly > *triangles)
 
int Triangulate_OPT (TriangulatorPoly *poly, List< TriangulatorPoly > *triangles)
 
int Triangulate_MONO (TriangulatorPoly *poly, List< TriangulatorPoly > *triangles)
 
int Triangulate_MONO (List< TriangulatorPoly > *inpolys, List< TriangulatorPoly > *triangles)
 
int MonotonePartition (List< TriangulatorPoly > *inpolys, List< TriangulatorPoly > *monotonePolys)
 
int ConvexPartition_HM (TriangulatorPoly *poly, List< TriangulatorPoly > *parts)
 
int ConvexPartition_HM (List< TriangulatorPoly > *inpolys, List< TriangulatorPoly > *parts)
 
int ConvexPartition_OPT (TriangulatorPoly *poly, List< TriangulatorPoly > *parts)
 

Protected Member Functions

bool IsConvex (Vector2 &p1, Vector2 &p2, Vector2 &p3)
 
bool IsReflex (Vector2 &p1, Vector2 &p2, Vector2 &p3)
 
bool IsInside (Vector2 &p1, Vector2 &p2, Vector2 &p3, Vector2 &p)
 
bool InCone (Vector2 &p1, Vector2 &p2, Vector2 &p3, Vector2 &p)
 
bool InCone (PartitionVertex *v, Vector2 &p)
 
int Intersects (Vector2 &p11, Vector2 &p12, Vector2 &p21, Vector2 &p22)
 
Vector2 Normalize (const Vector2 &p)
 
real_t Distance (const Vector2 &p1, const Vector2 &p2)
 
void UpdateVertexReflexity (PartitionVertex *v)
 
void UpdateVertex (PartitionVertex *v, PartitionVertex *vertices, long numvertices)
 
void UpdateState (long a, long b, long w, long i, long j, DPState2 **dpstates)
 
void TypeA (long i, long j, long k, PartitionVertex *vertices, DPState2 **dpstates)
 
void TypeB (long i, long j, long k, PartitionVertex *vertices, DPState2 **dpstates)
 
bool Below (Vector2 &p1, Vector2 &p2)
 
void AddDiagonal (MonotoneVertex *vertices, long *numvertices, long index1, long index2, char *vertextypes, Set< ScanLineEdge >::Element **edgeTreeIterators, Set< ScanLineEdge > *edgeTree, long *helpers)
 
int TriangulateMonotone (TriangulatorPoly *inPoly, List< TriangulatorPoly > *triangles)
 

The documentation for this class was generated from the following files: