From e257a410cf334efdea04d6c8dff418fd39c76f32 Mon Sep 17 00:00:00 2001 From: Susan Hert Date: Thu, 21 Jun 2001 09:41:46 +0000 Subject: [PATCH] fixed bug for facet halfedge circulator --- Packages/Convex_hull_3/include/CGAL/convex_hull_3.h | 2 +- Packages/Convex_hull_3/include/CGAL/convexity_check_3.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/Convex_hull_3/include/CGAL/convex_hull_3.h b/Packages/Convex_hull_3/include/CGAL/convex_hull_3.h index af8413df483..287731bb8b8 100644 --- a/Packages/Convex_hull_3/include/CGAL/convex_hull_3.h +++ b/Packages/Convex_hull_3/include/CGAL/convex_hull_3.h @@ -245,7 +245,7 @@ find_visible_set(const typename Traits::Point_3& point, visible.push_back(f); } } - hdl_curr = hdl_curr->next(); + hdl_curr++; } while (hdl_curr != hdl_init); } diff --git a/Packages/Convex_hull_3/include/CGAL/convexity_check_3.h b/Packages/Convex_hull_3/include/CGAL/convexity_check_3.h index 5cdb185a091..9c0bca810bf 100644 --- a/Packages/Convex_hull_3/include/CGAL/convexity_check_3.h +++ b/Packages/Convex_hull_3/include/CGAL/convexity_check_3.h @@ -57,7 +57,7 @@ bool is_locally_convex(Facet_handle f_hdl, const Traits& traits) // Point must be on the plane or on the negative side if (has_on_positive_side((*f_hdl).plane(), point)) return false; - h_circ = h_circ->next(); + h_circ++; } while ( h_circ != (*f_hdl).facet_begin()); return true;