Nef_3: Avoid geometric test

This commit is contained in:
Andreas Fabri 2022-03-18 15:42:17 +01:00
parent f09f38c3f2
commit 211cb75dd3
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ public:
CGAL_for_each( o, candidates) { CGAL_for_each( o, candidates) {
if( CGAL::assign( v, *o) && ((mask&1) != 0)) { if( CGAL::assign( v, *o) && ((mask&1) != 0)) {
_CGAL_NEF_TRACEN("trying vertex on "<<v->point()); _CGAL_NEF_TRACEN("trying vertex on "<<v->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("the ray intersects the vertex");
_CGAL_NEF_TRACEN("prev. intersection? "<<hit); _CGAL_NEF_TRACEN("prev. intersection? "<<hit);
CGAL_assertion_code CGAL_assertion_code