|
libosmscout 1.1.1
|
#include <libosmscout-map-opengl/include/poly2tri/sweep/sweep_context.h>

Classes | |
| struct | Basin |
| struct | EdgeEvent |
Public Member Functions | |
| SweepContext (const std::vector< Point * > &polyline) | |
| Constructor. | |
| ~SweepContext () | |
| Destructor. | |
| void | set_head (Point *p1) |
| Point * | head () |
| void | set_tail (Point *p1) |
| Point * | tail () |
| int | point_count () |
| Node & | LocateNode (Point &point) |
| void | RemoveNode (Node *node) |
| void | CreateAdvancingFront (std::vector< Node * > nodes) |
| void | MapTriangleToNodes (Triangle &t) |
| Try to map a node to all sides of this triangle that don't have a neighbor. | |
| void | AddToMap (Triangle *triangle) |
| Point * | GetPoint (const int &index) |
| Point * | GetPoints () |
| void | RemoveFromMap (Triangle *triangle) |
| void | AddHole (const std::vector< Point * > &polyline) |
| void | AddPoint (Point *point) |
| AdvancingFront * | front () |
| void | MeshClean (Triangle &triangle) |
| std::vector< Triangle * > | GetTriangles () |
| std::list< Triangle * > | GetMap () |
Public Attributes | |
| std::vector< Edge * > | edge_list |
| Basin | basin |
| EdgeEvent | edge_event |
Friends | |
| class | Sweep |
|
explicit |
Constructor.
| p2t::SweepContext::~SweepContext | ( | ) |
Destructor.
| void p2t::SweepContext::AddHole | ( | const std::vector< Point * > & | polyline | ) |
| void p2t::SweepContext::AddPoint | ( | Point * | point | ) |
| void p2t::SweepContext::AddToMap | ( | Triangle * | triangle | ) |
| void p2t::SweepContext::CreateAdvancingFront | ( | std::vector< Node * > | nodes | ) |
|
inline |
| std::list< Triangle * > p2t::SweepContext::GetMap | ( | ) |
| Point * p2t::SweepContext::GetPoint | ( | const int & | index | ) |
| Point * p2t::SweepContext::GetPoints | ( | ) |
| std::vector< Triangle * > p2t::SweepContext::GetTriangles | ( | ) |
|
inline |
| void p2t::SweepContext::MapTriangleToNodes | ( | Triangle & | t | ) |
Try to map a node to all sides of this triangle that don't have a neighbor.
| void p2t::SweepContext::MeshClean | ( | Triangle & | triangle | ) |
|
inline |
| void p2t::SweepContext::RemoveFromMap | ( | Triangle * | triangle | ) |
| void p2t::SweepContext::RemoveNode | ( | Node * | node | ) |
|
inline |
|
inline |
|
inline |
|
friend |
| Basin p2t::SweepContext::basin |
| EdgeEvent p2t::SweepContext::edge_event |
| std::vector<Edge*> p2t::SweepContext::edge_list |