From 2e1dab81a17efd5569d9bd8dae53ba96f45b7cff Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 9 Jul 2014 11:56:42 +0200 Subject: [PATCH] Fix a 13 years old bug in an example Trivial bug-fix for master, suggested by Eric. The bug was introduced by a refactoring of the example, in the following commit, 13 years ago: | commit 898679a9e64ef0dce31d0e18877e14ea0dac26c6 | Author: Lutz Kettner | Date: Thu Jul 12 05:59:09 2001 +0000 | | - Adapted to new polyhedral surface design (release 3). | - Ported from dd_geo/chull to convex_hull_3. | - Changed to new concept naming convention, i.e., WidthTraits_3. | - Changed traits class to new kernel design naming. However, the unchanged | member functions make this traits not compliant with kernel traits. | - Edited Width_3.tex quite a bit. Removed redundant descriptions of type | requirements that are actually described in the WidthTraits_3. | | Notes: | r7838 trunk --- .../examples/Polytope_distance_d/width_simplex.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Polytope_distance_d/examples/Polytope_distance_d/width_simplex.cpp b/Polytope_distance_d/examples/Polytope_distance_d/width_simplex.cpp index 27ea1796b58..b909f263d9c 100644 --- a/Polytope_distance_d/examples/Polytope_distance_d/width_simplex.cpp +++ b/Polytope_distance_d/examples/Polytope_distance_d/width_simplex.cpp @@ -40,6 +40,7 @@ int main() { std::cout << "Direction: " << simplex.get_build_direction() << std::endl; Plane_3 e1, e2; + simplex.get_width_planes (e1, e2); std::cout << "Planes: E1: " << e1 << ". E2: " << e2 <