libosmscout
0.1
|
#include <cdt.h>
Public Member Functions | |
void | AddHole (const std::vector< Point * > &polyline) |
Add a hole. More... | |
void | AddPoint (Point *point) |
Add a steiner point. More... | |
CDT (const std::vector< Point * > &polyline) | |
Constructor - add polyline with non repeating points. More... | |
std::list< Triangle * > | GetMap () |
Get triangle map. More... | |
std::vector< Triangle * > | GetTriangles () |
Get CDT triangles. More... | |
void | Triangulate () |
Triangulate - do this AFTER you've added the polyline, holes, and Steiner points. More... | |
~CDT () | |
Destructor - clean up memory. More... | |
|
explicit |
Constructor - add polyline with non repeating points.
polyline |
p2t::CDT::~CDT | ( | ) |
Destructor - clean up memory.
void p2t::CDT::AddHole | ( | const std::vector< Point * > & | polyline | ) |
Add a hole.
polyline |
void p2t::CDT::AddPoint | ( | Point * | point | ) |
Add a steiner point.
point |
std::list<Triangle*> p2t::CDT::GetMap | ( | ) |
Get triangle map.
std::vector<Triangle*> p2t::CDT::GetTriangles | ( | ) |
Get CDT triangles.
Referenced by osmscout::Triangulate::TriangulatePolygon().
void p2t::CDT::Triangulate | ( | ) |
Triangulate - do this AFTER you've added the polyline, holes, and Steiner points.
Referenced by osmscout::Triangulate::TriangulatePolygon().