GeneralPolygonSetDcel::Vertex
|
|
the vertex type.
|
GeneralPolygonSetDcel::Halfedge
|
|
the halfedge type.
|
GeneralPolygonSetDcel::Face
|
|
the face type.
|
GeneralPolygonSetDcel::Hole
|
|
the hole type.
|
GeneralPolygonSetDcel::Isolated_vertex
|
|
the isolated vertex type.
|
|
GeneralPolygonSetDcel::Size
|
|
used to represent size values (e.g., size_t).
|
|
GeneralPolygonSetDcel::Vertex_iterator
|
|
a bidirectional iterator over the vertices. Its value-type is
Vertex.
|
GeneralPolygonSetDcel::Halfedge_iterator
|
|
a bidirectional iterator over the halfedges. Its value-type is
Halfedge.
|
GeneralPolygonSetDcel::Face_iterator
|
|
a bidirectional iterator over the faces. Its value-type is Face.
|
Size
|
dcel.size_of_vertices () const
|
returns the number of vertices.
|
Size
|
dcel.size_of_halfedges () const
|
returns the number of halfedges (always even).
|
Size
|
dcel.size_of_faces () const
|
returns the number of faces.
|
Size
|
dcel.size_of_holes () const
|
returns the number of holes (the number of connected components).
|
Size
|
dcel.size_of_isolated_vertices () const
|
| |
returns the number of isolated vertices.
|
Vertex*
|
dcel.new_vertex ()
|
creates a new vertex.
|
Halfedge*
|
dcel.new_edge ()
|
creates a new pair of twin halfedges.
|
Face*
|
dcel.new_face ()
|
creates a new face.
|
Hole*
|
dcel.new_hole ()
|
creates a new hole record.
|
Isolated_vertex*
|
dcel.new_isolated_vertex ()
|
creates a new isolated vertex record.
|
|
void
|
dcel.delete_vertex ( Vertex* v)
|
deletes the vertex v.
|
void
|
dcel.delete_edge ( Halfedge* e)
|
deletes the halfedge e as well as its twin.
|
void
|
dcel.delete_face ( Face* f)
|
deletes the face f.
|
void
|
dcel.delete_hole ( Hole* ho)
|
deletes the hole ho.
|
void
|
dcel.delete_isolated_vertex ( Isolated_vertex* iv)
|
| |
deletes the isolated vertex iv.
|