From c4386798d16b95afcb625667f35ba4bc76108b12 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Tue, 12 Jun 2012 14:25:52 +0000 Subject: [PATCH] Fix deprecated use of CGAL::Triangulation_euclidean_traits_xy_3 Use CGAL::Projection_traits_xy_3 instead. --- Geomview/demo/Geomview/gv_terrain.cpp | 4 ++-- .../examples/Interval_skip_list/isl_terrain.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Geomview/demo/Geomview/gv_terrain.cpp b/Geomview/demo/Geomview/gv_terrain.cpp index e618c1791f2..25d2b566b43 100644 --- a/Geomview/demo/Geomview/gv_terrain.cpp +++ b/Geomview/demo/Geomview/gv_terrain.cpp @@ -36,7 +36,7 @@ int main() #include #include // for sleep() -#include +#include #include #include @@ -50,7 +50,7 @@ int main() typedef CGAL::Cartesian K; typedef K::Point_2 Point2; -typedef CGAL::Triangulation_euclidean_traits_xy_3 Gt3; +typedef CGAL::Projection_traits_xy_3 Gt3; typedef Gt3::Point Point3; typedef CGAL::Delaunay_triangulation_2 Delaunay; diff --git a/Interval_skip_list/examples/Interval_skip_list/isl_terrain.cpp b/Interval_skip_list/examples/Interval_skip_list/isl_terrain.cpp index 23aae11b1d6..17e3dd6515d 100644 --- a/Interval_skip_list/examples/Interval_skip_list/isl_terrain.cpp +++ b/Interval_skip_list/examples/Interval_skip_list/isl_terrain.cpp @@ -1,14 +1,14 @@ #include #include -#include +#include #include #include #include #include -typedef CGAL::Exact_predicates_inexact_constructions_kernel EIK; +typedef CGAL::Exact_predicates_inexact_constructions_kernel EIK; typedef EIK::Point_3 Point_3; -typedef CGAL::Triangulation_euclidean_traits_xy_3 K; +typedef CGAL::Projection_traits_xy_3 K; typedef CGAL::Delaunay_triangulation_2 Delaunay; typedef Delaunay::Face_handle Face_handle; typedef Delaunay::Finite_faces_iterator Finite_faces_iterator;