|
CGAL 4.7 - CGAL and the Boost Graph Library
|
The concept HalfedgeListGraph refines the concept HalfedgeGraph and adds the requirements for traversal of all halfedges in the graph.
Notations
G HalfedgeListGraph. g G. Associated Types
| Type | Description |
|---|---|
boost::graph_traits<G>::halfedge_iterator | A BidirectionalIterator over all halfedges in a graph. Must be DefaultConstructible, Assignable, EqualityComparable. |
boost::graph_traits<G>::halfedges_size_type | A size type. |
Valid Expressions
| Expression | Returns | Description |
|---|---|---|
num_halfedges(g) | halfedges_size_type | An upper bound of the number of halfedges of the graph. |
halfedges(g) | std::pair<halfedge_iterator,halfedge_iterator> | An iterator range over the halfedges of the graph. |
num_halfedges() may return a number larger than std::distance(halfedges(g).first,halfedges(g).second). This is the case for implementations only marking halfedges deleted in the halfedge container.