CGAL::HalfedgeDS_halfedge_max_base_with_id<Refs>

Definition

The class HalfedgeDS_halfedge_max_base_with_id<Refs> is a model of the HalfedgeDSHalfedge concept. Refs is an instantiation of a HalfedgeDS. It is equivalent to CGAL::HalfedgeDS_halfedge_base< Refs, CGAL::Tag_true, CGAL::Tag_true, CGAL::Tag_true> with an added integer field which can be used to index halfedges in BGL algorithms. The class contains support for the previous, next, opposite, vertex and face pointers and the required type definitions. It can be used for deriving own halfedges.

Note that the user is in charge to set the index correctly before running a graph algorithm.

#include <CGAL/HalfedgeDS_halfedge_max_base_with_id.h>

Is Model for the Concepts

HalfedgeDSHalfedge

Creation

HalfedgeDS_halfedge_max_base_with_id<Refs> h;
default constructor.

int h.id () Returns the index.
int& h.id () Returns a reference to the index stored in the halfedge.

See Also

HalfedgeDS<Traits,Items,Alloc>
HalfedgeDSItems
PolyhedronItems_3
CGAL::HalfedgeDS_min_items
CGAL::HalfedgeDS_vertex_min_base<Refs>
CGAL::HalfedgeDS_face_min_base<Refs>
CGAL::HalfedgeDS_halfedge_base<Refs>
CGAL::HalfedgeDS_vertex_max_base_with_id<Refs>
CGAL::HalfedgeDS_face_max_base_with_id<Refs>
CGAL::Polyhedron_items_with_id_3