|
| CDT (const std::vector< Point * > &polyline) |
| Constructor - add polyline with non repeating points.
|
|
| ~CDT () |
| Destructor - clean up memory.
|
|
void | AddHole (const std::vector< Point * > &polyline) |
| Add a hole.
|
|
void | AddPoint (Point *point) |
| Add a steiner point.
|
|
void | Triangulate () |
| Triangulate - do this AFTER you've added the polyline, holes, and Steiner points.
|
|
std::vector< Triangle * > | GetTriangles () |
| Get CDT triangles.
|
|
std::list< Triangle * > | GetMap () |
| Get triangle map.
|
|
◆ CDT()
p2t::CDT::CDT |
( |
const std::vector< Point * > & |
polyline | ) |
|
Constructor - add polyline with non repeating points.
- Parameters
-
◆ AddHole()
void p2t::CDT::AddHole |
( |
const std::vector< Point * > & |
polyline | ) |
|
◆ AddPoint()
void p2t::CDT::AddPoint |
( |
Point * |
point | ) |
|
Add a steiner point.
- Parameters
-
The documentation for this class was generated from the following files:
- 3rd_party/poly2tri/sweep/cdt.h
- 3rd_party/poly2tri/sweep/cdt.cpp