From f0732a2ac5d7fa6687f11a1e9af5303a8cb6a2cc Mon Sep 17 00:00:00 2001 From: Panagiotis Cheilaris Date: Thu, 26 Jul 2012 13:57:25 +0300 Subject: [PATCH] Linf version of sdg-count-sites.cpp --- .../sdg-count-sites.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/examples/Segment_Delaunay_graph_Linf_2/sdg-count-sites.cpp b/examples/Segment_Delaunay_graph_Linf_2/sdg-count-sites.cpp index f84b0273c44..1b030647c66 100644 --- a/examples/Segment_Delaunay_graph_Linf_2/sdg-count-sites.cpp +++ b/examples/Segment_Delaunay_graph_Linf_2/sdg-count-sites.cpp @@ -15,15 +15,17 @@ typedef CGAL::Simple_cartesian CK; typedef CGAL::Simple_cartesian EK; // typedefs for the traits and the algorithm -#include -#include +#include +#include -typedef CGAL::Segment_Delaunay_graph_filtered_traits_2 Gt; +typedef CGAL::Segment_Delaunay_graph_Linf_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_2 SDG2; +typedef CGAL::Segment_Delaunay_graph_Linf_2 SDG2; using namespace std;