\( \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.8 - CGAL and the Boost Graph Library

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Classes | Functions
Helper Classes
CGAL and the Boost Graph Library Reference

##

## 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...

## Functions
template<class HalfedgeDS_with_id >
void | CGAL::set_halfedgeds_items_id (HalfedgeDS_with_id &hds)
| Given a `CGAL::Polyhedron_3` or more generally a model of `HalfedgeDS`, 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 | ( | HalfedgeDS_with_id & | hds) |  |

Given a `CGAL::Polyhedron_3` or more generally a model of `HalfedgeDS`, 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`. For the `Polyhedron_3` type, an item class suited for this use is `CGAL::Polyhedron_items_with_id_3`.

`#include <CGAL/Polyhedron_items_with_id_3.h>`