From 70df2653a14a1c1f4af66e45eec80ef089018a1c Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 24 Nov 2008 11:02:17 +0000 Subject: [PATCH] Replace struct K .. with typedef .. K --- .../test_interpolation_functions_2.cpp | 6 ++---- .../Interpolation/test_natural_neighbors_2.cpp | 3 +-- .../Interpolation/test_surface_neighbor_3.cpp | 18 ++---------------- 3 files changed, 5 insertions(+), 22 deletions(-) diff --git a/Interpolation/test/Interpolation/test_interpolation_functions_2.cpp b/Interpolation/test/Interpolation/test_interpolation_functions_2.cpp index 2f296bfcf38..0038a0b980c 100644 --- a/Interpolation/test/Interpolation/test_interpolation_functions_2.cpp +++ b/Interpolation/test/Interpolation/test_interpolation_functions_2.cpp @@ -17,18 +17,16 @@ // // Author(s) : Julia Floetotto -#include - #include #include #include #include -struct K : CGAL::Exact_predicates_exact_constructions_kernel {}; +typedef CGAL::Exact_predicates_exact_constructions_kernel K; typedef CGAL::Delaunay_triangulation_2 Dt; -struct K2 : CGAL::Exact_predicates_inexact_constructions_kernel {}; +typedef CGAL::Exact_predicates_inexact_constructions_kernel K2; typedef CGAL::Delaunay_triangulation_2 Dt2; int main() diff --git a/Interpolation/test/Interpolation/test_natural_neighbors_2.cpp b/Interpolation/test/Interpolation/test_natural_neighbors_2.cpp index 419e19b0edd..8e203fd3ddc 100644 --- a/Interpolation/test/Interpolation/test_natural_neighbors_2.cpp +++ b/Interpolation/test/Interpolation/test_natural_neighbors_2.cpp @@ -17,14 +17,13 @@ // // Author(s) : Naceur MESKINI. -#include #include #include #include -struct K : CGAL::Exact_predicates_inexact_constructions_kernel {}; +typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef CGAL::Delaunay_triangulation_2 Dt; diff --git a/Interpolation/test/Interpolation/test_surface_neighbor_3.cpp b/Interpolation/test/Interpolation/test_surface_neighbor_3.cpp index 2aedcdb7394..70b85372668 100644 --- a/Interpolation/test/Interpolation/test_surface_neighbor_3.cpp +++ b/Interpolation/test/Interpolation/test_surface_neighbor_3.cpp @@ -17,14 +17,8 @@ // // Author(s) : Julia Floetotto -#include -#include #include #include - -// #include -// #include - #include #include #include @@ -33,10 +27,10 @@ #include -struct K : CGAL::Exact_predicates_inexact_constructions_kernel {}; +typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef CGAL::Delaunay_triangulation_3 Dt; -struct K2 : CGAL::Exact_predicates_exact_constructions_kernel {}; +typedef CGAL::Exact_predicates_exact_constructions_kernel K2; typedef CGAL::Delaunay_triangulation_3 Dt2; //Hierarchy with exact pred exact const. kernel: @@ -46,10 +40,6 @@ typedef CGAL::Triangulation_data_structure_3 Tds; typedef CGAL::Delaunay_triangulation_3 Dt1; typedef CGAL::Triangulation_hierarchy_3 Dh; -// //Homogeneous Kernel: -// typedef CGAL::MP_Float NT; -// typedef CGAL::Homogeneous K3; -// typedef CGAL::Delaunay_triangulation_3 Dt3; // Aff_transformation: typedef CGAL::Aff_transformation_3 Transformation; @@ -61,10 +51,6 @@ int main() _test_surface_neighbors_3_sphere( Dt() ); std::cout << " done." << std::endl << std::endl; - // std::cout << "Using Homogeneous_kernel: " << std::endl ; -// std::cout << "Testing surface_neighbors_3 on a sphere "; -// _test_surface_neighbors_3_sphere( Dt3() ); -// std::cout << " done." << std::endl << std::endl; std::cout << "Using Exact_predicates_exact_constructions_kernel: " << std::endl;