From 8a09bc0bb28cba4e8a7a3bcc173e8441c36e286f Mon Sep 17 00:00:00 2001 From: Lutz Kettner Date: Wed, 7 May 2003 15:55:13 +0000 Subject: [PATCH] - Fixed test, examples, and demos to use default parameter of polyhedron. --- Packages/Convex_hull_3/changes.txt | 2 +- .../demo/Convex_hull_3/incremental_hull_3_demo.C | 3 +-- .../examples/Convex_hull_3/incremental_hull_3_ex.C | 4 +--- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Packages/Convex_hull_3/changes.txt b/Packages/Convex_hull_3/changes.txt index 7c82c57f696..06e4c01e460 100644 --- a/Packages/Convex_hull_3/changes.txt +++ b/Packages/Convex_hull_3/changes.txt @@ -1,5 +1,5 @@ 2.46 (07 May 2003) [lk] -- Fixed degeneracy_test.C to use default parameter of polyhedron. +- Fixed test, examples, and demos to use default parameter of polyhedron. 2.45 (5 May 2003) [af] - VC6 cleanup diff --git a/Packages/Convex_hull_3/demo/Convex_hull_3/incremental_hull_3_demo.C b/Packages/Convex_hull_3/demo/Convex_hull_3/incremental_hull_3_demo.C index 09ead7fcf3f..5285b71e6ac 100644 --- a/Packages/Convex_hull_3/demo/Convex_hull_3/incremental_hull_3_demo.C +++ b/Packages/Convex_hull_3/demo/Convex_hull_3/incremental_hull_3_demo.C @@ -34,8 +34,7 @@ typedef double RT; typedef CGAL::Homogeneous K; typedef K::Point_3 Point_3; -typedef CGAL::Polyhedron_default_traits_3 PolyTraits; -typedef CGAL::Polyhedron_3< PolyTraits > Polyhedron_3; +typedef CGAL::Polyhedron_3< K> Polyhedron_3; typedef CGAL::Convex_hull_d_traits_3 Hull_traits_3; typedef CGAL::Convex_hull_d< Hull_traits_3 > Convex_hull_3; diff --git a/Packages/Convex_hull_3/examples/Convex_hull_3/incremental_hull_3_ex.C b/Packages/Convex_hull_3/examples/Convex_hull_3/incremental_hull_3_ex.C index ed4ad4196ba..43f22d70aa8 100644 --- a/Packages/Convex_hull_3/examples/Convex_hull_3/incremental_hull_3_ex.C +++ b/Packages/Convex_hull_3/examples/Convex_hull_3/incremental_hull_3_ex.C @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include @@ -24,8 +23,7 @@ typedef CGAL::MP_Float RT; typedef CGAL::Homogeneous K; typedef K::Point_3 Point_3; -typedef CGAL::Polyhedron_default_traits_3 PolyTraits; -typedef CGAL::Polyhedron_3< PolyTraits > Polyhedron; +typedef CGAL::Polyhedron_3< K> Polyhedron; typedef CGAL::Creator_uniform_3 Creator; int main()