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

Loading...
Searching...
No Matches
List of all members | Related Functions
CGAL::Apollonius_site_2< K > Class Template Reference
2D Apollonius Graphs (Delaunay Graphs of Disks) Reference

`#include <CGAL/Apollonius_site_2.h>`

## Definition

template<typename K>
class CGAL::Apollonius_site_2< K >

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
  `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) const
| Inserts the Apollonius site `s` into the stream `os`.
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`.
Qt_widget & | operator<< (Qt_widget &w, const Apollonius_site_2< K > &s) const
| Inserts the Apollonius site `s` into the `Qt_widget` stream `w`.

## Creation
| Apollonius_site_2 (Point_2 p=Point_2(), Weight w=Weight(0))
| Apollonius_site_2 (const Apollonius_site_2< K > &other)
| Copy constructor.

## Friends And Related Function Documentation

## ◆ operator<<() [1/2]

template<typename K >

Qt_widget & operator<< | ( | Qt_widget & | w,
|  | const Apollonius_site_2< K > & | s
| ) |  | const
| 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<<() [2/2]

template<typename K >

std::ostream & operator<< | ( | std::ostream & | os,
|  | const Apollonius_site_2< K > & | s
| ) |  | const
| 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>>()

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`.