A drawable planar straight line graph.
CG_PSLG()
[CG_Edge] edges
|
A list of edges contained in this PSLG. |
CG_HalfEdge activeHalfEdge
|
The currently active half edge that is to be drawn. |
Boolean orient
|
The orientation of the interior of this PSLG. |
CG_Edge newEdge(CG_Vertex u, CG_Vertex v)
|
Adds a new edge with endpoints u and v , creates half edges associated with these vertices and sets the active HalfEdge as v.h.twin .
|
null keyPressed()
|
Traverses the PSLG with keyboard command p, n and t. |