CGAL 6.2 - 2D Apollonius Graphs (Delaunay Graphs of Disks)

Loading...
Searching...
No Matches
List of all members
CGAL::Apollonius_graph_vertex_base_2< Gt, StoreHidden, Vb > Class Template Reference
Reference Manual

`#include <CGAL/Apollonius_graph_vertex_base_2.h>`

## Inherits from

Vb.

## Definition

template<typename Gt, typename StoreHidden, typename Vb>
class CGAL::Apollonius_graph_vertex_base_2< Gt, StoreHidden, Vb >

The class `Apollonius_graph_vertex_base_2` provides a model for the `ApolloniusGraphVertexBase_2` concept which is the vertex base required by the `ApolloniusGraphDataStructure_2` concept.

The class `Apollonius_graph_vertex_base_2` has three template arguments.

Template Parameters

  Gt | is the geometric traits of the Apollonius graph and must be a model of the concept `ApolloniusGraphTraits_2`.
  StoreHidden | is a Boolean which controls whether hidden sites are actually stored. Such a control is important if the user is not interested in hidden sites and/or if only insertions are made, in which case no hidden site can become visible. If `StoreHidden` is set to `true`, hidden sites are stored, otherwise they are discarded. By default `StoreHidden` is set to `true`.
  Vb | must be a model of the concept `TriangulationDSVertexBase_2` By default this parameter is instantiated with `Triangulation_ds_vertex_base_2<>`.

Is model of
  `ApolloniusGraphVertexBase_2`

See also
  `CGAL::Triangulation_data_structure_2<Vb,Fb>`
  `CGAL::Apollonius_graph_hierarchy_vertex_base_2<Gt>`

Examples
  Apollonius_graph_2/ag2_filtered_traits_no_hidden.cpp.

## Creation
| Apollonius_graph_vertex_base_2 ()
| Default constructor.
| Apollonius_graph_vertex_base_2 (const Site_2 &s)
| Constructs a vertex associated with the site `s` and embedded at the center of `s`.
| Apollonius_graph_vertex_base_2 (const Site_2 &s, Face_handle f)
| Constructs a vertex associated with the site `s`, embedded at the center of `s`, and pointing to the face associated with the face handle `f`.