CGAL 6.1.2 - CGAL and the Boost Graph Library

Loading...
Searching...
No Matches
List of all members
CGAL::HalfedgeDS_vertex_max_base_with_id< Refs > Class Template Reference
Reference Manual » External Indices

`#include <CGAL/HalfedgeDS_vertex_max_base_with_id.h>`

## Definition

template<typename Refs>
class CGAL::HalfedgeDS_vertex_max_base_with_id< Refs >

The class `HalfedgeDS_vertex_max_base_with_id` is a model of the `HalfedgeDSVertex` concept.

It is equivalent to `HalfedgeDS_vertex_base< Refs, Tag_true>` with an added integer field which can be used to index vertices in BGL algorithms.. The class contains support for the point and the required type definitions. It can be used for deriving own vertices.

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

Template Parameters

  Refs | must be an instantiation of a `HalfedgeDS`.

Is model of
  `HalfedgeDSVertex`

See also
  `HalfedgeDS<Traits,Items,Alloc>`
  `HalfedgeDSItems`
  `PolyhedronItems_3`
  `CGAL::HalfedgeDS_min_items`
  `CGAL::HalfedgeDS_halfedge_min_base<Refs>`
  `CGAL::HalfedgeDS_face_min_base<Refs>`
  `CGAL::HalfedgeDS_vertex_base<Refs>`
  `CGAL::HalfedgeDS_halfedge_max_base_with_id<Refs>`
  `CGAL::HalfedgeDS_face_max_base_with_id<Refs>`
  `CGAL::Polyhedron_items_with_id_3`

## Creation
| HalfedgeDS_vertex_max_base_with_id ()
| Default constructor.
int | id () const
| Returns the index.
int & | id ()
| Returns a reference to the index stored in the vertex.