use the default for the exact kernel

This commit is contained in:
Sébastien Loriot 2013-07-05 09:52:12 +02:00
parent d1ad4260e2
commit 67925033d6
1 changed files with 3 additions and 11 deletions

View File

@ -3,24 +3,16 @@
#include <fstream>
#include <cassert>
// define the exact number type
#include <CGAL/Gmpq.h>
typedef CGAL::Gmpq ENT;
// define the kernels
// define the input kernel
#include <CGAL/Simple_cartesian.h>
typedef CGAL::Simple_cartesian<double> CK;
typedef CGAL::Simple_cartesian<ENT> EK;
// typedefs for the traits and the algorithm
#include <CGAL/Segment_Delaunay_graph_filtered_traits_2.h>
#include <CGAL/Segment_Delaunay_graph_2.h>
typedef CGAL::Segment_Delaunay_graph_filtered_traits_2<CK,
/* The construction kernel allows for / and sqrt */ CGAL::Field_with_sqrt_tag,
EK,
/* The exact kernel supports field ops exactly */ CGAL::Field_tag> Gt;
typedef CGAL::Segment_Delaunay_graph_filtered_traits_2<
CK,CGAL::Field_with_sqrt_tag> Gt;
typedef CGAL::Segment_Delaunay_graph_2<Gt> SDG2;