\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.13.1 - 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.