\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 5.0.3 - 2D Apollonius Graphs (Delaunay Graphs of Disks)
CGAL::Apollonius_site_2< K > Class Template Reference

#include <CGAL/Apollonius_site_2.h>

Definition

The class Apollonius_site_2 is a model for the concept ApolloniusSite_2.

It is parametrized by a template parameter K which must be a model of the Kernel concept.

Is Model Of:
ApolloniusSite_2

Types

The class Apollonius_site_2 does not introduce any types in addition to the concept ApolloniusSite_2.

I/O

The I/O operators are defined for iostream.

The information output in the iostream is: the point of the Apollonius site and its weight.

See also
Kernel
ApolloniusSite_2
CGAL::Qt_widget
CGAL::Apollonius_graph_traits_2<K,Method_tag>
CGAL::Apollonius_graph_filtered_traits_2<CK,CM,EK,EM,FK,FM>

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &os, const Apollonius_site_2< K > &s)
 Inserts the Apollonius site s into the stream os. More...
 
std::istream & operator>> (std::istream &is, const Apollonius_site_2< K > &s)
 Reads an Apollonius site from the stream is and assigns it to s. More...
 
Qt_widget & operator<< (Qt_widget &w, const Apollonius_site_2< K > &s)
 Inserts the Apollonius site s into the Qt_widget stream w. More...
 

Creation

 Apollonius_site_2 (Point_2 p=Point_2(), Weight w=Weight(0))
 
 Apollonius_site_2 (Apollonius_site_2< K > other)
 Copy constructor.
 

Friends And Related Function Documentation

◆ operator[1/2]

template<typename K >
std::ostream & operator<< ( std::ostream &  os,
const Apollonius_site_2< K > &  s 
)
related

Inserts the Apollonius site s into the stream os.

Note
Included through CGAL/IO/Qt_widget_Apollonius_site_2.h.
Precondition
The insert operator must be defined for Point_2 and Weight.

◆ operator[2/2]

template<typename K >
Qt_widget & operator<< ( Qt_widget &  w,
const Apollonius_site_2< K > &  s 
)
related

Inserts the Apollonius site s into the Qt_widget stream w.

Note
Included through CGAL/IO/Qt_widget_Apollonius_site_2.h.
Precondition
The insert operator must be defined for K::Circle_2.

◆ operator>>()

template<typename K >
std::istream & operator>> ( std::istream &  is,
const Apollonius_site_2< K > &  s 
)
related

Reads an Apollonius site from the stream is and assigns it to s.

Note
Included through CGAL/IO/Qt_widget_Apollonius_site_2.h.
Precondition
The extract operator must be defined for Point_2 and Weight.