From 211cb75dd34cad6a07d3ea2ed18446c5fb36879a Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 18 Mar 2022 15:42:17 +0100 Subject: [PATCH] Nef_3: Avoid geometric test --- Nef_3/include/CGAL/Nef_3/SNC_point_locator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nef_3/include/CGAL/Nef_3/SNC_point_locator.h b/Nef_3/include/CGAL/Nef_3/SNC_point_locator.h index 71460c0b1d6..c61d086c9b1 100644 --- a/Nef_3/include/CGAL/Nef_3/SNC_point_locator.h +++ b/Nef_3/include/CGAL/Nef_3/SNC_point_locator.h @@ -234,7 +234,7 @@ public: CGAL_for_each( o, candidates) { if( CGAL::assign( v, *o) && ((mask&1) != 0)) { _CGAL_NEF_TRACEN("trying vertex on "<point()); - if( ray.source() != v->point() && ray.has_on(v->point())) { + if( (ray_source_vertex != v) && (ray.source() != v->point()) && ray.has_on(v->point())) { _CGAL_NEF_TRACEN("the ray intersects the vertex"); _CGAL_NEF_TRACEN("prev. intersection? "<