use proper kernel in example

This commit is contained in:
Michael Hemmer 2014-07-09 12:28:36 +02:00
parent 4cbf7f245e
commit 99598a7e58
1 changed files with 3 additions and 5 deletions

View File

@ -1,14 +1,12 @@
#include <CGAL/Cartesian.h>
#include <CGAL/Gmpq.h>
#include <CGAL/Arr_segment_traits_2.h> #include <CGAL/Arr_segment_traits_2.h>
#include <CGAL/Arrangement_2.h> #include <CGAL/Arrangement_2.h>
#include <CGAL/Triangular_expansion_visibility_2.h> #include <CGAL/Triangular_expansion_visibility_2.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <iostream> #include <iostream>
typedef CGAL::Gmpq Number_type; typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
typedef CGAL::Cartesian<Number_type> Kernel;
typedef Kernel::Point_2 Point_2; typedef Kernel::Point_2 Point_2;
typedef Kernel::Segment_2 Segment_2; typedef Kernel::Segment_2 Segment_2;
typedef CGAL::Arr_segment_traits_2<Kernel> Traits_2; typedef CGAL::Arr_segment_traits_2<Kernel> Traits_2;