mirror of https://github.com/CGAL/cgal
Replace struct K .. with typedef .. K
This commit is contained in:
parent
7d4afe3a7c
commit
600d8b8124
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include <cassert>
|
||||
|
||||
struct K : CGAL::Exact_predicates_inexact_constructions_kernel {};
|
||||
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
|
||||
typedef K::FT Coord_type;
|
||||
typedef K::Vector_2 Vector;
|
||||
typedef K::Point_2 Point;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#include <CGAL/natural_neighbor_coordinates_2.h>
|
||||
#include <CGAL/interpolation_functions.h>
|
||||
|
||||
struct K : CGAL::Exact_predicates_inexact_constructions_kernel {};
|
||||
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
|
||||
typedef CGAL::Delaunay_triangulation_2<K> Delaunay_triangulation;
|
||||
typedef CGAL::Interpolation_traits_2<K> Traits;
|
||||
typedef K::FT Coord_type;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include <CGAL/Delaunay_triangulation_2.h>
|
||||
#include <CGAL/natural_neighbor_coordinates_2.h>
|
||||
|
||||
struct K : CGAL::Exact_predicates_inexact_constructions_kernel {};
|
||||
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
|
||||
typedef CGAL::Delaunay_triangulation_2<K> Delaunay_triangulation;
|
||||
typedef std::vector< std::pair< K::Point_2, K::FT > >
|
||||
Point_coordinate_vector;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
typedef double NT; //Number Type
|
||||
|
||||
struct K : CGAL::Exact_predicates_inexact_constructions_kernel {};
|
||||
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
|
||||
|
||||
typedef K::Point_3 Point3;
|
||||
typedef K::Vector_3 Vector3;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <CGAL/Regular_triangulation_euclidean_traits_2.h>
|
||||
#include <CGAL/regular_neighbor_coordinates_2.h>
|
||||
|
||||
struct K : CGAL::Exact_predicates_inexact_constructions_kernel {};
|
||||
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
|
||||
|
||||
typedef CGAL::Regular_triangulation_euclidean_traits_2<K> Gt;
|
||||
typedef CGAL::Regular_triangulation_2<Gt> Regular_triangulation;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <CGAL/sibson_gradient_fitting.h>
|
||||
#include <CGAL/interpolation_functions.h>
|
||||
|
||||
struct K : CGAL::Exact_predicates_inexact_constructions_kernel {};
|
||||
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
|
||||
typedef CGAL::Delaunay_triangulation_2<K> Delaunay_triangulation;
|
||||
typedef CGAL::Interpolation_gradient_fitting_traits_2<K> Traits;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <CGAL/surface_neighbor_coordinates_3.h>
|
||||
|
||||
struct K : CGAL::Exact_predicates_inexact_constructions_kernel {};
|
||||
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
|
||||
typedef K::FT Coord_type;
|
||||
typedef K::Point_3 Point_3;
|
||||
typedef K::Vector_3 Vector_3;
|
||||
|
|
|
|||
Loading…
Reference in New Issue