|
Horizon
|
Public Member Functions | |
| CDT (const std::vector< Point * > &polyline) | |
| Constructor - add polyline with non repeating points. More... | |
| ~CDT () | |
| Destructor - clean up memory. | |
| void | AddHole (const std::vector< Point * > &polyline) |
| Add a hole. More... | |
| void | AddPoint (Point *point) |
| Add a steiner point. More... | |
| 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. | |
| p2t::CDT::CDT | ( | const std::vector< Point * > & | polyline | ) |
Constructor - add polyline with non repeating points.
| polyline |
| void p2t::CDT::AddHole | ( | const std::vector< Point * > & | polyline | ) |
Add a hole.
| polyline |
| void p2t::CDT::AddPoint | ( | Point * | point | ) |
Add a steiner point.
| point |