CGAL::Apollonius_site_2<K>

Definition

The class Apollonius_site_2<K> 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.

#include <CGAL/Apollonius_site_2.h>

Is Model for the Concept

ApolloniusSite_2

Types

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

Creation

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

I/O

The I/O operators are defined for iostream.

std::ostream& std::ostream& os << s
Inserts the Apollonius site s into the stream os.
Precondition: The insert operator must be defined for Point_2 and Weight.

std::istream& std::istream& is >> s
Reads an Apollonius site from the stream is and assigns it to s.
Precondition: The extract operator must be defined for Point_2 and Weight.

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

#include <CGAL/IO/Qt_widget_Apollonius_site_2.h>

Qt_widget& Qt_widget& w << s Inserts the Apollonius site s into the Qt_widget stream w.
Precondition: The insert operator must be defined for K::Circle_2.

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>