#include <CGAL/config.h>
#include <iostream>
#include <fstream>
#include <cassert>
#if defined(CGAL_USE_CORE) || defined(CGAL_USE_LEDA)
# include <CGAL/Exact_algebraic.h>
#endif
#if defined(CGAL_USE_CORE) || defined(CGAL_USE_LEDA)
typedef CGAL::Exact_algebraic NT;
#else
typedef double NT;
#endif
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Apollonius_graph_2.h>
#include <CGAL/Apollonius_graph_traits_2.h>
typedef
int main()
{
std::ifstream ifs("data/sites.cin");
assert( ifs );
Apollonius_graph ag;
Apollonius_graph::Site_2 site;
while ( ifs >> site ) {
ag.insert(site);
}
assert( ag.is_valid(true, 1) );
std::cout << std::endl;
return 0;
}
The class Apollonius_graph_2 represents the Apollonius graph.
Definition: Apollonius_graph_2.h:56
The class Apollonius_graph_traits_2 provides a model for the ApolloniusGraphTraits_2 concept.
Definition: Apollonius_graph_traits_2.h:29