CGAL 5.5.2 - CGAL and the Boost Graph Library
CGAL::Graph_with_descriptor_with_graph< Graph_ > Struct Template Reference

#include <CGAL/boost/graph/Graph_with_descriptor_with_graph.h>

Definition

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.

Template Parameters
Graphmust be a model of a FaceListGraph and HalfedgeListGraph.
Is Model Of:

FaceListGraph

HalfedgeListGraph

MutableFaceGraph if Graph is a model of MutableFaceGraph

Examples:
BGL_surface_mesh/gwdwg.cpp.