mirror of https://github.com/CGAL/cgal
Fix deprecated use of CGAL::Triangulation_euclidean_traits_xy_3
Use CGAL::Projection_traits_xy_3 instead.
This commit is contained in:
parent
d92a1b3fff
commit
c4386798d1
|
|
@ -36,7 +36,7 @@ int main()
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <unistd.h> // for sleep()
|
#include <unistd.h> // for sleep()
|
||||||
|
|
||||||
#include <CGAL/Triangulation_euclidean_traits_xy_3.h>
|
#include <CGAL/Projection_traits_xy_3.h>
|
||||||
|
|
||||||
#include <CGAL/Delaunay_triangulation_2.h>
|
#include <CGAL/Delaunay_triangulation_2.h>
|
||||||
#include <CGAL/Delaunay_triangulation_3.h>
|
#include <CGAL/Delaunay_triangulation_3.h>
|
||||||
|
|
@ -50,7 +50,7 @@ int main()
|
||||||
typedef CGAL::Cartesian<double> K;
|
typedef CGAL::Cartesian<double> K;
|
||||||
|
|
||||||
typedef K::Point_2 Point2;
|
typedef K::Point_2 Point2;
|
||||||
typedef CGAL::Triangulation_euclidean_traits_xy_3<K> Gt3;
|
typedef CGAL::Projection_traits_xy_3<K> Gt3;
|
||||||
typedef Gt3::Point Point3;
|
typedef Gt3::Point Point3;
|
||||||
|
|
||||||
typedef CGAL::Delaunay_triangulation_2<K> Delaunay;
|
typedef CGAL::Delaunay_triangulation_2<K> Delaunay;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
||||||
#include <CGAL/Delaunay_triangulation_2.h>
|
#include <CGAL/Delaunay_triangulation_2.h>
|
||||||
#include <CGAL/Triangulation_euclidean_traits_xy_3.h>
|
#include <CGAL/Projection_traits_xy_3.h>
|
||||||
#include <CGAL/Interval_skip_list.h>
|
#include <CGAL/Interval_skip_list.h>
|
||||||
#include <CGAL/Level_interval.h>
|
#include <CGAL/Level_interval.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
typedef CGAL::Exact_predicates_inexact_constructions_kernel EIK;
|
typedef CGAL::Exact_predicates_inexact_constructions_kernel EIK;
|
||||||
typedef EIK::Point_3 Point_3;
|
typedef EIK::Point_3 Point_3;
|
||||||
typedef CGAL::Triangulation_euclidean_traits_xy_3<EIK> K;
|
typedef CGAL::Projection_traits_xy_3<EIK> K;
|
||||||
typedef CGAL::Delaunay_triangulation_2<K> Delaunay;
|
typedef CGAL::Delaunay_triangulation_2<K> Delaunay;
|
||||||
typedef Delaunay::Face_handle Face_handle;
|
typedef Delaunay::Face_handle Face_handle;
|
||||||
typedef Delaunay::Finite_faces_iterator Finite_faces_iterator;
|
typedef Delaunay::Finite_faces_iterator Finite_faces_iterator;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue