From 7411d76e2fecb5d398fff44d4f81ecdf611f356a Mon Sep 17 00:00:00 2001 From: Giles Bathgate Date: Sun, 20 Mar 2022 10:44:17 +0000 Subject: [PATCH] Inline function as its only called once --- Nef_3/include/CGAL/Nef_3/SNC_intersection.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Nef_3/include/CGAL/Nef_3/SNC_intersection.h b/Nef_3/include/CGAL/Nef_3/SNC_intersection.h index 528cc5e5028..fccb520d829 100644 --- a/Nef_3/include/CGAL/Nef_3/SNC_intersection.h +++ b/Nef_3/include/CGAL/Nef_3/SNC_intersection.h @@ -134,13 +134,6 @@ class SNC_intersection { if( h.has_on( seg.source()) || h.has_on(seg.target())) /* no possible internal intersection */ return false; - return does_intersect(seg, f, p); - } - - static bool does_intersect(const Segment_3& seg, - Halffacet_const_handle f, - Point_3& p) { - Plane_3 h( f->plane()); Object o = intersection( h, seg); if( !CGAL::assign( p, o)) return false;