CGAL 6.0 - CGAL and the Boost Graph Library
Loading...
Searching...
No Matches
CGAL::Graph_with_descriptor_with_graph< Graph_ > Struct Template Reference

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

Definition

template<typename Graph_>
struct CGAL::Graph_with_descriptor_with_graph< Graph_ >

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.