Horizon
Loading...
Searching...
No Matches
p2t::SweepContext Class Reference

Classes

struct  Basin
struct  EdgeEvent

Public Member Functions

 SweepContext (const std::vector< Point * > &polyline)
 Constructor.
 ~SweepContext ()
 Destructor.
void set_head (Point *p1)
Pointhead () const
void set_tail (Point *p1)
Pointtail () const
size_t point_count () const
NodeLocateNode (const Point &point)
void RemoveNode (Node *node)
void CreateAdvancingFront ()
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)
PointGetPoint (size_t index)
PointGetPoints ()
void RemoveFromMap (Triangle *triangle)
void AddHole (const std::vector< Point * > &polyline)
void AddPoint (Point *point)
AdvancingFrontfront () const
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

The documentation for this class was generated from the following files: