diff --git a/Convex_hull_3/test/Convex_hull_3/degeneracy_test.cpp b/Convex_hull_3/test/Convex_hull_3/degeneracy_test.cpp index d57fd12eede..4c0a7f93b5b 100644 --- a/Convex_hull_3/test/Convex_hull_3/degeneracy_test.cpp +++ b/Convex_hull_3/test/Convex_hull_3/degeneracy_test.cpp @@ -20,7 +20,7 @@ // ============================================================================ -#include +#include #include #include #include @@ -28,7 +28,7 @@ #include typedef double NumberType; -typedef CGAL::Cartesian Kernel; +typedef CGAL::Simple_cartesian Kernel; typedef CGAL::Polyhedron_3 Polyhedron; typedef Kernel::Point_3 Point_3; diff --git a/Convex_hull_3/test/Convex_hull_3/quickhull_degenerate_test_3.cpp b/Convex_hull_3/test/Convex_hull_3/quickhull_degenerate_test_3.cpp index aa9042ff279..2f51b0ac7f3 100644 --- a/Convex_hull_3/test/Convex_hull_3/quickhull_degenerate_test_3.cpp +++ b/Convex_hull_3/test/Convex_hull_3/quickhull_degenerate_test_3.cpp @@ -1,5 +1,5 @@ #include -#include +#include #include #include @@ -12,7 +12,7 @@ typedef CGAL::Exact_rational Exact_rational; -typedef CGAL::Cartesian< Exact_rational > R; +typedef CGAL::Simple_cartesian R; typedef CGAL::Convex_hull_traits_3 Traits; typedef Traits::Polygon_mesh Polyhedron_3; diff --git a/Distance_2/test/Distance_2/test_distance_2.cpp b/Distance_2/test/Distance_2/test_distance_2.cpp index 54849f91469..ccf57a20b78 100644 --- a/Distance_2/test/Distance_2/test_distance_2.cpp +++ b/Distance_2/test/Distance_2/test_distance_2.cpp @@ -4,14 +4,8 @@ #undef NDEBUG //this testsuite requires NDEBUG to be not defined #endif -#include -#include -#include -#include -#include -#include -#include +#include #include #include @@ -296,7 +290,7 @@ struct Test { int main() { - Test< CGAL::Cartesian >().run(); + Test< CGAL::Simple_cartesian >().run(); Test< CGAL::Homogeneous >().run(); // TODO : test more kernels. } diff --git a/Distance_3/test/Distance_3/test_distance_3.cpp b/Distance_3/test/Distance_3/test_distance_3.cpp index 1df77add0b0..32656ef5314 100644 --- a/Distance_3/test/Distance_3/test_distance_3.cpp +++ b/Distance_3/test/Distance_3/test_distance_3.cpp @@ -4,15 +4,7 @@ #undef NDEBUG //this testsuite requires NDEBUG to be not defined #endif -#include -#include -#include -#include -#include -#include -#include - -#include +#include #include #include @@ -253,7 +245,7 @@ struct Test { int main() { - Test< CGAL::Cartesian >().run(); + Test< CGAL::Simple_cartesian >().run(); Test< CGAL::Homogeneous >().run(); // TODO : test more kernels. } diff --git a/Generator/test/Generator/generic_random_test.cpp b/Generator/test/Generator/generic_random_test.cpp index 3090ddbfc80..6f09f8c6ac3 100644 --- a/Generator/test/Generator/generic_random_test.cpp +++ b/Generator/test/Generator/generic_random_test.cpp @@ -1,5 +1,4 @@ #include -#include #include #include diff --git a/Generator/test/Generator/random_poly_test.cpp b/Generator/test/Generator/random_poly_test.cpp index c121d2c843a..074fe49ba5a 100644 --- a/Generator/test/Generator/random_poly_test.cpp +++ b/Generator/test/Generator/random_poly_test.cpp @@ -22,14 +22,14 @@ // Random Simple Polygons: Test Program // ============================================================================ -#include +#include #include #include #include #include #include -typedef CGAL::Cartesian< double > CR; +typedef CGAL::Simple_cartesian< double > CR; typedef CGAL::Point_2< CR > CPoint_2; typedef std::list CContainer; typedef CGAL::Polygon_2 CPolygon_2; diff --git a/Generator/test/Generator/rcs_test.cpp b/Generator/test/Generator/rcs_test.cpp index 4bde453151c..ae8bf3315d0 100644 --- a/Generator/test/Generator/rcs_test.cpp +++ b/Generator/test/Generator/rcs_test.cpp @@ -23,7 +23,7 @@ // Random Convex Point Sets: Test Program // ============================================================================ -#include +#include #include #include #include @@ -34,7 +34,7 @@ using std::vector; using std::back_inserter; -using CGAL::Cartesian; +using CGAL::Simple_cartesian; using CGAL::Creator_uniform_2; using CGAL::Random_points_in_square_2; using CGAL::set_pretty_mode; @@ -44,7 +44,7 @@ using CGAL::random_convex_set_2; int main( ) { - typedef Cartesian< double > R; + typedef Simple_cartesian< double > R; typedef CGAL::Point_2< R > Point_2; typedef vector< Point_2 > Cont; typedef CGAL::Polygon_2< R, Cont > Polygon_2; diff --git a/Generator/test/Generator/test_generators.cpp b/Generator/test/Generator/test_generators.cpp index 6bf865e0933..40e792875ea 100644 --- a/Generator/test/Generator/test_generators.cpp +++ b/Generator/test/Generator/test_generators.cpp @@ -29,10 +29,8 @@ #include #include #include -#include +#include #include -#include -#include #include #include #include @@ -42,7 +40,7 @@ using namespace CGAL; -typedef Cartesian R; +typedef Simple_cartesian R; typedef CGAL::Cartesian_d Kd; diff --git a/Generator/test/Generator/test_tetrahedron_3.cpp b/Generator/test/Generator/test_tetrahedron_3.cpp index 610d85e3f06..56656a07783 100644 --- a/Generator/test/Generator/test_tetrahedron_3.cpp +++ b/Generator/test/Generator/test_tetrahedron_3.cpp @@ -3,12 +3,11 @@ #include #include #include -#include -#include +#include #include typedef double RT; -typedef CGAL::Cartesian K; +typedef CGAL::Simple_cartesian K; typedef K::Point_3 Point_3; typedef K::Vector_3 Vector_3; typedef K::Tetrahedron_3 Tetrahedron_3; diff --git a/Generator/test/Generator/test_triangle_3.cpp b/Generator/test/Generator/test_triangle_3.cpp index e4648d7f4da..750d047e94e 100644 --- a/Generator/test/Generator/test_triangle_3.cpp +++ b/Generator/test/Generator/test_triangle_3.cpp @@ -3,7 +3,6 @@ #include #include #include -#include #include #include diff --git a/HalfedgeDS/test/HalfedgeDS/test_hds.cpp b/HalfedgeDS/test/HalfedgeDS/test_hds.cpp index e07f491f74a..e65351e18a1 100644 --- a/HalfedgeDS/test/HalfedgeDS/test_hds.cpp +++ b/HalfedgeDS/test/HalfedgeDS/test_hds.cpp @@ -26,7 +26,7 @@ // ============================================================================ -#include +#include #include #include #include @@ -34,7 +34,7 @@ #include #include -typedef CGAL::Cartesian Kernel; +typedef CGAL::Simple_cartesian Kernel; struct Dummy_traits_3 { typedef Kernel::Point_3 Point_3; typedef Kernel::Plane_3 Plane_3; diff --git a/HalfedgeDS/test/HalfedgeDS/test_hds_decorator.cpp b/HalfedgeDS/test/HalfedgeDS/test_hds_decorator.cpp index 1cc3d7bf9a5..fd9d9d2d746 100644 --- a/HalfedgeDS/test/HalfedgeDS/test_hds_decorator.cpp +++ b/HalfedgeDS/test/HalfedgeDS/test_hds_decorator.cpp @@ -26,14 +26,14 @@ // ============================================================================ -#include +#include #include #include #include #include -typedef CGAL::Cartesian Kernel; +typedef CGAL::Simple_cartesian Kernel; struct Dummy_traits_2 { typedef Kernel::Point_2 Point_2; }; diff --git a/Hash_map/test/Hash_map/Unique_hash_map_test.cpp b/Hash_map/test/Hash_map/Unique_hash_map_test.cpp index 4980a550334..7f83cc81528 100644 --- a/Hash_map/test/Hash_map/Unique_hash_map_test.cpp +++ b/Hash_map/test/Hash_map/Unique_hash_map_test.cpp @@ -1,4 +1,3 @@ -#include #include #include #include diff --git a/Polyhedron/test/Polyhedron/test_polyhedron.cpp b/Polyhedron/test/Polyhedron/test_polyhedron.cpp index 3a90a99dcc3..ebc6beab112 100644 --- a/Polyhedron/test/Polyhedron/test_polyhedron.cpp +++ b/Polyhedron/test/Polyhedron/test_polyhedron.cpp @@ -26,7 +26,7 @@ // ============================================================================ -#include +#include #include #include #include @@ -276,8 +276,8 @@ struct Test_facet_modifier : public CGAL::Modifier_base }; void test_Polyhedron() { - typedef CGAL::Cartesian Kernel; - typedef CGAL::Cartesian KernelI; + typedef CGAL::Simple_cartesian Kernel; + typedef CGAL::Simple_cartesian KernelI; typedef CGAL::Point_3 Point; typedef CGAL::Plane_3 Plane; typedef CGAL::Polyhedron_traits_3 Traits; @@ -1116,7 +1116,7 @@ void test_Polyhedron() { } void test_min_Polyhedron() { - typedef CGAL::Cartesian Kernel; + typedef CGAL::Simple_cartesian Kernel; typedef CGAL::Point_3 Point; typedef CGAL::Polyhedron_traits_3 Traits; typedef CGAL::Polyhedron_3 +#include #include // This is the test file for the new design. Skip new design test for @@ -66,8 +66,8 @@ const char* tetra = "OFF\n" void test_file_IO_OFF() { - typedef Cartesian Kernel; - typedef Polyhedron_3 Polyhedron; + typedef Simple_cartesian Kernel; + typedef Polyhedron_3 Polyhedron; { Polyhedron P; std::istringstream in( triangle); diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_barycenter.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_barycenter.cpp index b55a30248e7..22174db3bc4 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_barycenter.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_barycenter.cpp @@ -4,15 +4,15 @@ #include #include -#include +#include #include #include -typedef double FT; -typedef CGAL::Cartesian K; -typedef K::Point_2 Point_2; -typedef K::Point_3 Point_3; +typedef double FT; +typedef CGAL::Simple_cartesian K; +typedef K::Point_2 Point_2; +typedef K::Point_3 Point_3; void test_2() { diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_bounding_box.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_bounding_box.cpp index 582aa0a3c69..1c1870db817 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_bounding_box.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_bounding_box.cpp @@ -4,15 +4,15 @@ #include #include -#include +#include #include -typedef double FT; -typedef CGAL::Cartesian K; -typedef K::Point_2 Point_2; -typedef K::Point_3 Point_3; -typedef K::Segment_2 Segment_2; -typedef K::Triangle_3 Triangle_3; +typedef double FT; +typedef CGAL::Simple_cartesian K; +typedef K::Point_2 Point_2; +typedef K::Point_3 Point_3; +typedef K::Segment_2 Segment_2; +typedef K::Triangle_3 Triangle_3; void test_2() { diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_circles_2.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_circles_2.cpp index 4f5bac3277d..007d8e82939 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_circles_2.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_circles_2.cpp @@ -2,16 +2,16 @@ // Example program for the linear_least_square_fitting function on a set of circles in 2D -#include +#include #include #include -typedef double FT; -typedef CGAL::Cartesian K; -typedef K::Line_2 Line; -typedef K::Point_2 Point; -typedef K::Circle_2 Circle; +typedef double FT; +typedef CGAL::Simple_cartesian K; +typedef K::Line_2 Line; +typedef K::Point_2 Point; +typedef K::Circle_2 Circle; int main() { diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_cuboids_3.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_cuboids_3.cpp index da09885b0f0..d66d6f7df7c 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_cuboids_3.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_cuboids_3.cpp @@ -1,7 +1,7 @@ #include // Example program for the linear_least_square_fitting function on set of cuboids in 3D -#include +#include #include #include @@ -9,12 +9,12 @@ #include #endif -typedef double FT; -typedef CGAL::Cartesian Kernel; -typedef Kernel::Line_3 Line; -typedef Kernel::Plane_3 Plane; -typedef Kernel::Point_3 Point; -typedef Kernel::Iso_cuboid_3 Iso_cuboid; +typedef double FT; +typedef CGAL::Simple_cartesian Kernel; +typedef Kernel::Line_3 Line; +typedef Kernel::Plane_3 Plane; +typedef Kernel::Point_3 Point; +typedef Kernel::Iso_cuboid_3 Iso_cuboid; int main() { diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_points_2.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_points_2.cpp index bd063d67ed5..96985afecb6 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_points_2.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_points_2.cpp @@ -1,7 +1,7 @@ #include // test for the linear_least_square_fitting() functions. -#include +#include #include #include #include @@ -93,11 +93,11 @@ int main() { std::cout << "Test 2D linear least squares fitting of points" << std::endl; - typedef CGAL::Cartesian Kernel_double; + typedef CGAL::Simple_cartesian Kernel_double; test_2D(); test_2D_point_set(100); - typedef CGAL::Cartesian Kernel_float; + typedef CGAL::Simple_cartesian Kernel_float; test_2D(); test_2D_point_set(100); diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_points_3.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_points_3.cpp index 6308207c8b9..1f18f88e592 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_points_3.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_points_3.cpp @@ -3,7 +3,7 @@ // test for the linear_least_square_fitting() functions. -#include +#include #include #include @@ -13,7 +13,7 @@ #include // types -typedef CGAL::Cartesian Kernel; +typedef CGAL::Simple_cartesian Kernel; typedef Kernel::FT FT; typedef Kernel::Line_3 Line; typedef Kernel::Point_3 Point; diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_rectangles_2.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_rectangles_2.cpp index 22fbdc53fa0..42a812ba3e0 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_rectangles_2.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_rectangles_2.cpp @@ -3,7 +3,7 @@ // test for the linear_least_square_fitting() functions. -#include +#include #include #include #include @@ -14,7 +14,7 @@ #define THRESHOLD 0.001 // types -typedef CGAL::Cartesian Kernel; +typedef CGAL::Simple_cartesian Kernel; typedef Kernel::FT FT; typedef Kernel::Line_2 Line_2; diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_segments_2.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_segments_2.cpp index bee7a607098..d666452a1d2 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_segments_2.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_segments_2.cpp @@ -3,7 +3,7 @@ // test for the linear_least_square_fitting() functions. -#include +#include #include #include #include @@ -14,7 +14,7 @@ #define THRESHOLD 0.001 // types -typedef CGAL::Cartesian Kernel; +typedef CGAL::Simple_cartesian Kernel; typedef Kernel::FT FT; typedef Kernel::Line_2 Line_2; diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_segments_3.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_segments_3.cpp index 6f148de7cd2..952453d0c44 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_segments_3.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_segments_3.cpp @@ -3,7 +3,7 @@ // test for the linear_least_square_fitting() functions. -#include +#include #include #include #include @@ -18,7 +18,7 @@ #define THRESHOLD 0.001 // types -typedef CGAL::Cartesian Kernel; +typedef CGAL::Simple_cartesian Kernel; typedef Kernel::FT FT; typedef Kernel::Line_3 Line; diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_spheres_3.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_spheres_3.cpp index 4a8a8b4251d..64b77f83ceb 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_spheres_3.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_spheres_3.cpp @@ -2,7 +2,7 @@ #include -#include +#include #include #ifdef CGAL_EIGEN3_ENABLED #include @@ -11,12 +11,12 @@ #include -typedef double FT; -typedef CGAL::Cartesian Kernel; -typedef Kernel::Line_3 Line; -typedef Kernel::Plane_3 Plane; -typedef Kernel::Point_3 Point; -typedef Kernel::Sphere_3 Sphere; +typedef double FT; +typedef CGAL::Simple_cartesian Kernel; +typedef Kernel::Line_3 Line; +typedef Kernel::Plane_3 Plane; +typedef Kernel::Point_3 Point; +typedef Kernel::Sphere_3 Sphere; int main(void) { diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_tetrahedra_3.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_tetrahedra_3.cpp index cc56701293a..e764671b1ae 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_tetrahedra_3.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_tetrahedra_3.cpp @@ -3,7 +3,7 @@ // Example program for the linear_least_square_fitting function // on a set of tetrahedra in 3D -#include +#include #include #include @@ -11,12 +11,12 @@ #include #endif -typedef double FT; -typedef CGAL::Cartesian Kernel; -typedef Kernel::Line_3 Line; -typedef Kernel::Plane_3 Plane; -typedef Kernel::Point_3 Point; -typedef Kernel::Tetrahedron_3 Tetrahedron; +typedef double FT; +typedef CGAL::Simple_cartesian Kernel; +typedef Kernel::Line_3 Line; +typedef Kernel::Plane_3 Plane; +typedef Kernel::Point_3 Point; +typedef Kernel::Tetrahedron_3 Tetrahedron; int main() { diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_triangles_2.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_triangles_2.cpp index 83941382425..cc9471be8c3 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_triangles_2.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_triangles_2.cpp @@ -1,7 +1,7 @@ #include // test for the linear_least_square_fitting() functions. -#include +#include #include #include #include @@ -12,8 +12,8 @@ #define THRESHOLD 0.001 -typedef CGAL::Cartesian Kernel; -typedef Kernel::FT FT; +typedef CGAL::Simple_cartesian Kernel; +typedef Kernel::FT FT; typedef Kernel::Line_2 Line_2; typedef Kernel::Point_2 Point_2; typedef Kernel::Vector_2 Vector_2; diff --git a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_triangles_3.cpp b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_triangles_3.cpp index 20fba3fb597..0507c09fce3 100644 --- a/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_triangles_3.cpp +++ b/Principal_component_analysis/test/Principal_component_analysis/test_linear_least_squares_fitting_triangles_3.cpp @@ -1,7 +1,7 @@ #include // Example program for the linear_least_square_fitting function on set of triangles in 3D -#include +#include #include #ifdef CGAL_EIGEN3_ENABLED #include @@ -9,12 +9,12 @@ #include -typedef double FT; -typedef CGAL::Cartesian Kernel; -typedef Kernel::Line_3 Line; -typedef Kernel::Plane_3 Plane; -typedef Kernel::Point_3 Point; -typedef Kernel::Triangle_3 Triangle; +typedef double FT; +typedef CGAL::Simple_cartesian Kernel; +typedef Kernel::Line_3 Line; +typedef Kernel::Plane_3 Plane; +typedef Kernel::Point_3 Point; +typedef Kernel::Triangle_3 Triangle; int main() {