\( \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.10.2 - CGAL and the Boost Graph Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages

Classes

class  CGAL::HalfedgeDS_face_max_base_with_id< Refs >
 The class HalfedgeDS_face_max_base_with_id is a model of the HalfedgeDSFace concept. More...
 
class  CGAL::HalfedgeDS_halfedge_max_base_with_id< Refs >
 The class HalfedgeDS_halfedge_max_base_with_id is a model of the HalfedgeDSHalfedge concept. More...
 
class  CGAL::HalfedgeDS_vertex_max_base_with_id< Refs >
 The class HalfedgeDS_vertex_max_base_with_id is a model of the HalfedgeDSVertex concept. More...
 
class  CGAL::Polyhedron_items_with_id_3
 The class Polyhedron_items_with_id_3 is a model of the PolyhedronItems_3 concept. More...
 
class  CGAL::Triangulation_vertex_base_with_id_2< TriangulationTraits_2, TriangulationVertexBase_2 >
 The class Triangulation_vertex_base_with_id_2 is a model of the concept TriangulationVertexBase_2, the base vertex of a 2D-triangulation. More...
 
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. More...
 
struct  CGAL::Graph_with_descriptor_with_graph_property_map< Graph, PM >
 Graph_with_descriptor_with_graph_property_map enables to forward properties from a Graph to a Graph_with_descriptor_with_graph. More...
 
class  CGAL::Dual< Primal_ >
 The class template Dual is an adaptor that creates the dual view of a FaceGraph. More...
 

Functions

template<class HalfedgeDS_with_id >
void CGAL::set_halfedgeds_items_id (Polyhedron_with_id &P)
 Given a CGAL::Polyhedron_3, for each simplex type (vertex, halfedge, facet) associates an index from 0 to the number of simplices minus 1 to each simplex of hds. More...
 

Function Documentation

template<class HalfedgeDS_with_id >
void CGAL::set_halfedgeds_items_id ( Polyhedron_with_id &  P)

Given a CGAL::Polyhedron_3, for each simplex type (vertex, halfedge, facet) associates an index from 0 to the number of simplices minus 1 to each simplex of hds.

All simplex types must provide an id() method return a reference to a variable that can be assigned a std::size_t. An item class suited for this use is CGAL::Polyhedron_items_with_id_3.

#include <CGAL/Polyhedron_items_with_id_3.h>