#include <GteTriangulateCDT.h>
Classes | |
class | Tree |
Public Types | |
typedef std::vector< int > | Polygon |
Public Member Functions | |
std::vector< std::array< int, 3 > > const & | GetAllTriangles () const |
std::vector< bool > const & | GetIsInside () const |
std::vector< std::array< int, 3 > > const & | GetOutsideTriangles () const |
std::vector< std::array< int, 3 > > const & | GetTriangles () const |
bool | IsInside (int triIndex) const |
bool | IsOutside (int triIndex) 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) |
TriangulateCDT (int numPoints, Vector2< InputType > const *points) | |
TriangulateCDT (std::vector< Vector2< InputType >> const &points) | |
Private Member Functions | |
int | GetNumPointsAndOffsets (std::shared_ptr< Tree > const &tree, std::map< std::shared_ptr< Tree >, int > &offsets) const |
bool | InsertEdges (std::shared_ptr< Tree > const &tree) |
bool | IsInside (std::shared_ptr< Tree > const &tree, Vector2< ComputeType > const *points, Vector2< ComputeType > const &test, std::map< std::shared_ptr< Tree >, int > const &offsets) const |
void | LookupIndex (std::shared_ptr< Tree > const &tree, int &v, std::map< std::shared_ptr< Tree >, int > const &offsets) const |
void | PackPoints (std::shared_ptr< Tree > const &tree, std::vector< Vector2< InputType >> &points) |
bool | TriangulatePacked (int numPoints, Vector2< InputType > const *points, std::shared_ptr< Tree > const &tree, std::map< std::shared_ptr< Tree >, int > const &offsets) |
Private Attributes | |
std::vector< std::array< int, 3 > > | mAllTriangles |
ConstrainedDelaunay2< InputType, ComputeType > | mConstrainedDelaunay |
std::vector< bool > | mIsInside |
int | mNumPoints |
std::vector< std::array< int, 3 > > | mOutsideTriangles |
Vector2< InputType > const * | mPoints |
std::vector< std::array< int, 3 > > | mTriangles |
Definition at line 36 of file GteTriangulateCDT.h.
typedef std::vector<int> gte::TriangulateCDT< InputType, ComputeType >::Polygon |
Definition at line 68 of file GteTriangulateCDT.h.
gte::TriangulateCDT< InputType, ComputeType >::TriangulateCDT | ( | int | numPoints, |
Vector2< InputType > const * | points | ||
) |
Definition at line 151 of file GteTriangulateCDT.h.
gte::TriangulateCDT< InputType, ComputeType >::TriangulateCDT | ( | std::vector< Vector2< InputType >> const & | points | ) |
Definition at line 168 of file GteTriangulateCDT.h.
|
inline |
Definition at line 197 of file GteTriangulateCDT.h.
|
inline |
Definition at line 203 of file GteTriangulateCDT.h.
|
private |
Definition at line 374 of file GteTriangulateCDT.h.
|
inline |
Definition at line 191 of file GteTriangulateCDT.h.
|
inline |
Definition at line 185 of file GteTriangulateCDT.h.
|
private |
Definition at line 443 of file GteTriangulateCDT.h.
|
inline |
Definition at line 209 of file GteTriangulateCDT.h.
|
private |
Definition at line 534 of file GteTriangulateCDT.h.
|
inline |
Definition at line 222 of file GteTriangulateCDT.h.
|
private |
Definition at line 493 of file GteTriangulateCDT.h.
bool gte::TriangulateCDT< InputType, ComputeType >::operator() | ( | ) |
Definition at line 235 of file GteTriangulateCDT.h.
bool gte::TriangulateCDT< InputType, ComputeType >::operator() | ( | Polygon const & | polygon | ) |
Definition at line 252 of file GteTriangulateCDT.h.
bool gte::TriangulateCDT< InputType, ComputeType >::operator() | ( | Polygon const & | outer, |
Polygon const & | inner | ||
) |
Definition at line 265 of file GteTriangulateCDT.h.
bool gte::TriangulateCDT< InputType, ComputeType >::operator() | ( | Polygon const & | outer, |
std::vector< Polygon > const & | inners | ||
) |
Definition at line 283 of file GteTriangulateCDT.h.
bool gte::TriangulateCDT< InputType, ComputeType >::operator() | ( | std::shared_ptr< Tree > const & | tree | ) |
Definition at line 305 of file GteTriangulateCDT.h.
|
private |
Definition at line 405 of file GteTriangulateCDT.h.
|
private |
Definition at line 342 of file GteTriangulateCDT.h.
|
private |
Definition at line 143 of file GteTriangulateCDT.h.
|
private |
Definition at line 146 of file GteTriangulateCDT.h.
|
private |
Definition at line 144 of file GteTriangulateCDT.h.
|
private |
Definition at line 136 of file GteTriangulateCDT.h.
|
private |
Definition at line 142 of file GteTriangulateCDT.h.
|
private |
Definition at line 137 of file GteTriangulateCDT.h.
|
private |
Definition at line 141 of file GteTriangulateCDT.h.