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