CGAL 5.1 - Halfedge Data Structures
CGAL::HalfedgeDS_vertex_base< Refs > Class Template Reference

#include <CGAL/HalfedgeDS_vertex_base.h>

Definition

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

The class HalfedgeDS_vertex_base is a model of the HalfedgeDSVertex concept. Refs is an instantiation of a HalfedgeDS. The template declaration of HalfedgeDS_vertex_base has three parameters with some defaults that allow to select various flavors of vertices. The declaration is best explained with the two following declarations, essentially hiding an implementation dependent default setting:

template <class Refs, class T = CGAL::Tag_true>
class HalfedgeDS_vertex_base;

template <class Refs, class T, class Point>
class HalfedgeDS_vertex_base;

Let us look at some instantiations

See also
HalfedgeDS<Traits,Items,Alloc>
HalfedgeDSItems
PolyhedronItems_3
CGAL::HalfedgeDS_items_2
CGAL::HalfedgeDS_halfedge_base<Refs>
CGAL::HalfedgeDS_face_base<Refs>
CGAL::HalfedgeDS_vertex_min_base<Refs>

Types

typedef unspecified_type Point
 point type for three argument version. More...
 

Creation

 HalfedgeDS_vertex_base ()
 default constructor. More...
 
 HalfedgeDS_vertex_base (const Point &p)
 initialized with point p. More...
 

Operations

Pointpoint ()
 
const Pointpoint () const
 

Member Typedef Documentation

◆ Point

template<typename Refs >
typedef unspecified_type CGAL::HalfedgeDS_vertex_base< Refs >::Point

point type for three argument version.

Constructor & Destructor Documentation

◆ HalfedgeDS_vertex_base() [1/2]

template<typename Refs >
CGAL::HalfedgeDS_vertex_base< Refs >::HalfedgeDS_vertex_base ( )

default constructor.

◆ HalfedgeDS_vertex_base() [2/2]

template<typename Refs >
CGAL::HalfedgeDS_vertex_base< Refs >::HalfedgeDS_vertex_base ( const Point p)

initialized with point p.

Member Function Documentation

◆ point() [1/2]

template<typename Refs >
Point& CGAL::HalfedgeDS_vertex_base< Refs >::point ( )

◆ point() [2/2]

template<typename Refs >
const Point& CGAL::HalfedgeDS_vertex_base< Refs >::point ( ) const