#include <GteTriangulateEC.h>
Classes | |
class | Tree |
class | Vertex |
Public Types | |
typedef std::vector< int > | Polygon |
Public Member Functions | |
std::vector< std::array< int, 3 > > const & | GetTriangles () const |
bool | operator() () |
bool | operator() (Polygon const &polygon) |
bool | operator() (Polygon const &outer, Polygon const &inner) |
bool | operator() (Polygon const &outer, std::vector< Polygon > const &inners) |
bool | operator() (std::shared_ptr< Tree > const &tree) |
TriangulateEC (int numPoints, Vector2< InputType > const *points) | |
TriangulateEC (std::vector< Vector2< InputType >> const &points) | |
Private Member Functions | |
bool | CombinePolygons (int nextElement, Polygon const &outer, Polygon const &inner, std::map< int, int > &indexMap, std::vector< int > &combined) |
void | DoEarClipping (int numVertices, int const *indices) |
int | InitializeFromTree (std::shared_ptr< Tree > const &tree) |
void | InitializeVertices (int numVertices, int const *indices) |
void | InsertAfterC (int i) |
void | InsertAfterE (int i) |
void | InsertAfterR (int i) |
void | InsertBeforeE (int i) |
void | InsertEndE (int i) |
bool | IsConvex (int i) |
bool | IsEar (int i) |
bool | ProcessOuterAndInners (int &nextElement, Polygon const &outer, std::vector< Polygon > const &inners, std::map< int, int > &indexMap, std::vector< int > &combined) |
void | RemapIndices (std::map< int, int > const &indexMap) |
int | RemoveE (int i) |
void | RemoveR (int i) |
void | RemoveV (int i) |
Vertex & | V (int i) |
Private Attributes | |
int | mCFirst |
int | mCLast |
std::vector< Vector2< ComputeType > > | mComputePoints |
int | mEFirst |
int | mELast |
std::vector< bool > | mIsConverted |
int | mNumPoints |
Vector2< InputType > const * | mPoints |
PrimalQuery2< ComputeType > | mQuery |
int | mRFirst |
int | mRLast |
std::vector< std::array< int, 3 > > | mTriangles |
std::vector< Vertex > | mVertices |
Definition at line 27 of file GteTriangulateEC.h.
typedef std::vector<int> gte::TriangulateEC< InputType, ComputeType >::Polygon |
Definition at line 45 of file GteTriangulateEC.h.
gte::TriangulateEC< InputType, ComputeType >::TriangulateEC | ( | int | numPoints, |
Vector2< InputType > const * | points | ||
) |
Definition at line 173 of file GteTriangulateEC.h.
gte::TriangulateEC< InputType, ComputeType >::TriangulateEC | ( | std::vector< Vector2< InputType >> const & | points | ) |
Definition at line 197 of file GteTriangulateEC.h.
|
private |
Definition at line 701 of file GteTriangulateEC.h.
|
private |
Definition at line 580 of file GteTriangulateEC.h.
|
inline |
Definition at line 221 of file GteTriangulateEC.h.
|
private |
Definition at line 1046 of file GteTriangulateEC.h.
|
private |
Definition at line 540 of file GteTriangulateEC.h.
|
private |
Definition at line 1197 of file GteTriangulateEC.h.
|
private |
Definition at line 1243 of file GteTriangulateEC.h.
|
private |
Definition at line 1213 of file GteTriangulateEC.h.
|
private |
Definition at line 1255 of file GteTriangulateEC.h.
|
private |
Definition at line 1229 of file GteTriangulateEC.h.
|
private |
Definition at line 1136 of file GteTriangulateEC.h.
|
private |
Definition at line 1147 of file GteTriangulateEC.h.
bool gte::TriangulateEC< InputType, ComputeType >::operator() | ( | ) |
Definition at line 227 of file GteTriangulateEC.h.
bool gte::TriangulateEC< InputType, ComputeType >::operator() | ( | Polygon const & | polygon | ) |
Definition at line 257 of file GteTriangulateEC.h.
bool gte::TriangulateEC< InputType, ComputeType >::operator() | ( | Polygon const & | outer, |
Polygon const & | inner | ||
) |
Definition at line 290 of file GteTriangulateEC.h.
bool gte::TriangulateEC< InputType, ComputeType >::operator() | ( | Polygon const & | outer, |
std::vector< Polygon > const & | inners | ||
) |
Definition at line 370 of file GteTriangulateEC.h.
bool gte::TriangulateEC< InputType, ComputeType >::operator() | ( | std::shared_ptr< Tree > const & | tree | ) |
Definition at line 455 of file GteTriangulateEC.h.
|
private |
Definition at line 981 of file GteTriangulateEC.h.
|
private |
Definition at line 1028 of file GteTriangulateEC.h.
|
private |
Definition at line 1276 of file GteTriangulateEC.h.
|
private |
Definition at line 1286 of file GteTriangulateEC.h.
|
private |
Definition at line 1267 of file GteTriangulateEC.h.
|
inlineprivate |
Definition at line 1130 of file GteTriangulateEC.h.
|
private |
Definition at line 166 of file GteTriangulateEC.h.
|
private |
Definition at line 166 of file GteTriangulateEC.h.
|
private |
Definition at line 135 of file GteTriangulateEC.h.
|
private |
Definition at line 168 of file GteTriangulateEC.h.
|
private |
Definition at line 168 of file GteTriangulateEC.h.
|
private |
Definition at line 136 of file GteTriangulateEC.h.
|
private |
Definition at line 124 of file GteTriangulateEC.h.
|
private |
Definition at line 125 of file GteTriangulateEC.h.
|
private |
Definition at line 137 of file GteTriangulateEC.h.
|
private |
Definition at line 167 of file GteTriangulateEC.h.
|
private |
Definition at line 167 of file GteTriangulateEC.h.
|
private |
Definition at line 128 of file GteTriangulateEC.h.
|
private |
Definition at line 165 of file GteTriangulateEC.h.