CGAL 6.0.1 - Halfedge Data Structures
Loading...
Searching...
No Matches
CGAL::HalfedgeDS_min_items Class Reference

#include <CGAL/HalfedgeDS_min_items.h>

Definition

The class HalfedgeDS_min_items is a model of the HalfedgeDSItems concept.

It defines types for vertices, halfedges, and faces that declare the minimal required incidences for a HalfedgeDS, which are the next() and the opposite() member function for halfedges.

Is model of
HalfedgeDSItems
See also
CGAL::HalfedgeDS_items_2
CGAL::Polyhedron_items_3
HalfedgeDS<Traits,Items,Alloc>
PolyhedronItems_3
CGAL::HalfedgeDS_vertex_min_base<Refs>
CGAL::HalfedgeDS_halfedge_min_base<Refs>
CGAL::HalfedgeDS_face_min_base<Refs>

Example

The following example shows the canonical implementation of the CGAL::HalfedgeDS_min_items class. It uses the base classes for the item types that are provided in the library.

template < class Refs, class Traits>
struct Vertex_wrapper {
};
template < class Refs, class Traits>
struct Halfedge_wrapper {
};
template < class Refs, class Traits>
struct Face_wrapper {
};
};
The class HalfedgeDS_face_min_base is a model of the HalfedgeDSFace concept.
Definition: HalfedgeDS_face_min_base.h:24
The class HalfedgeDS_halfedge_min_base is a model of the HalfedgeDSHalfedge concept.
Definition: HalfedgeDS_halfedge_min_base.h:25
The class HalfedgeDS_min_items is a model of the HalfedgeDSItems concept.
Definition: HalfedgeDS_min_items.h:49
The class HalfedgeDS_vertex_min_base is a model of the HalfedgeDSVertex concept.
Definition: HalfedgeDS_vertex_min_base.h:24
Examples
HalfedgeDS/hds_prog_graph2.cpp.