#include <iostream>
#include <fstream>
#include <cassert>
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Segment_Delaunay_graph_hierarchy_2.h>
#include <CGAL/Segment_Delaunay_graph_filtered_traits_2.h>
int main()
{
std::ifstream ifs("data/sites.cin");
assert( ifs );
SDG2 sdg;
SDG2::Site_2 site =
while ( ifs >> site ) {
sdg.insert(site);
}
assert( sdg.is_valid(true, 1) );
return 0;
}
We provide an alternative to the class Segment_Delaunay_graph_2<Gt,St,DS> for the incremental constru...
Definition: Segment_Delaunay_graph_hierarchy_2.h:84
const CGAL::Origin ORIGIN
The class Segment_Delaunay_graph_filtered_traits_2 provides a model for the SegmentDelaunayGraphTrait...
Definition: Segment_Delaunay_graph_filtered_traits_2.h:69