CGAL 4.8.1 - CGAL and the Boost Graph Library
|
The concept MutableHalfedgeGraph
refines the concept HalfedgeGraph
and adds the requirements for operations to add vertices and edges, and to update the incidence information between vertices and halfedges.
Notations
G
MutableHalfedgeGraph
. g
G
. v
h
, h1
, h2
e
Valid Expressions
Expression | returns | Description |
---|---|---|
add_vertex(g) | vertex_descriptor | Adds a new vertex to the graph without initializing the connectivity. |
remove_vertex(v, g) | void | Removes v from the graph. |
add_edge(g) | edge_descriptor | Adds two opposite halfedges to the graph without initializing the connectivity. |
remove_edge(e, g) | void | Removes the two halfedges corresponding to e from the graph. |
set_target(h, v, g) | void | Sets the target vertex of h and the source of opposite(h) to v . |
set_halfedge(v, h, g) | void | Sets the halfedge of v to h . The target vertex of h must be v . |
set_next(h1, h2, g) | void | Sets the successor of h1 around a face to h2 , and the prededecessor of h2 to h1 . |