CGAL 4.14 - CGAL and the Boost Graph Library
|
#include <CGAL/boost/graph/Graph_with_descriptor_with_graph.h>
The class Graph_with_descriptor_with_graph
wraps a graph into another graph in such a way that its descriptors contain a reference to the graph they come from.
For example, calling source(edge, graph)
will trigger an assertion if edge
does not belong to graph
. It is mainly used for debugging purposes.
Property Forwarding
All internal properties of the underlying graph are forwarded.
Property maps can be wrapped with Graph_with_descriptor_with_graph_property_map
.
Graph | must be a model of a FaceListGraph and HalfedgeListGraph . |
MutableFaceGraph
if Graph
is a model of MutableFaceGraph