CGAL 4.14.2 - CGAL and the Boost Graph Library
|
Several classes that enable to store ids in vertices/halfedges/faces of a CGAL::Polyhedron_3
, as well as adapters such as CGAL::Dual
.
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... | |
void CGAL::set_halfedgeds_items_id | ( | Polyhedron_with_id & | P | ) |
#include <CGAL/Polyhedron_items_with_id_3.h>
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
.