From 571d2b83530e1bbeb17a12e24b08d3b1a4c5a78c Mon Sep 17 00:00:00 2001 From: Guy Zucker Date: Thu, 4 Sep 2008 10:41:48 +0000 Subject: [PATCH] minor fix to Gps_segment_traits --- .../include/CGAL/Gps_segment_traits_2.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Boolean_set_operations_2/include/CGAL/Gps_segment_traits_2.h b/Boolean_set_operations_2/include/CGAL/Gps_segment_traits_2.h index 38437b101e8..2ea7365f014 100644 --- a/Boolean_set_operations_2/include/CGAL/Gps_segment_traits_2.h +++ b/Boolean_set_operations_2/include/CGAL/Gps_segment_traits_2.h @@ -152,7 +152,8 @@ public: /*typedef from General_polygon_with_holes_2. Hole_const_iterator nested type is required by GeneralPolygonWithHoles2 concept*/ - /*A functor for constructing the container of holes of a polygon with holes*/ + /*A functor for constructing the container of holes of a polygon with holes. It returns ths + begin/end iterators for the holes*/ class Construct_holes { public: std::pair operator()(const General_polygon_with_holes_2& pol_wh) @@ -192,8 +193,8 @@ public: return Construct_general_polygon_with_holes_2(); } - //functor returns true if the outer boundary is empty, and false otherwise. - class Is_unbounded_pred { + //functor returns true if the outer boundary is unbounded, and false otherwise. + class Is_unbounded { public: bool operator()(const General_polygon_with_holes_2& pol_wh) { @@ -201,8 +202,8 @@ public: } }; - Is_unbounded_pred construct_is_unbounded_pred_object() { - return Is_unbounded_pred(); + Is_unbounded construct_is_unbounded_object() { + return Is_unbounded(); } };