From 24cecd5ae15dcd4501b1e221da184db74b326ee0 Mon Sep 17 00:00:00 2001 From: Eric Berberich Date: Mon, 10 Nov 2008 10:01:15 +0000 Subject: [PATCH] better Point_location for linear --- .../include/CGAL/Arr_single_cell_2.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_single_cell_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_single_cell_2.h index 2772fe8454d..09fd82924c3 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_single_cell_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_single_cell_2.h @@ -54,7 +54,9 @@ // DOES NOT WORK FOR UNBOUNDED //#include -//#include +#if !CGAL_USE_ACK_2 +#include +#endif // required for Constructor of RI_observer #include @@ -686,11 +688,15 @@ public: // TASK select best point location strategy //! type of point location strategy - typedef CGAL::Arr_naive_point_location< Arrangement_2 > Point_location; +#if CGAL_USE_ACK_2 + typedef CGAL::Arr_naive_point_location< Arrangement_2 > Point_location; +#else // DO NOT WORK FOR UNBOUNDED! //typedef CGAL::Arr_simple_point_location< Arrangement_2 > Point_location; - //typedef Arr_walk_along_line_point_location< Arrangement_2 > + typedef Arr_walk_along_line_point_location< Arrangement_2 > Point_location; +#endif + //Point_location; //!\name Constructors