Inline function as its only called once

This commit is contained in:
Giles Bathgate 2022-03-20 10:44:17 +00:00
parent c4fc25ad82
commit 7411d76e2f
1 changed files with 0 additions and 7 deletions

View File

@ -134,13 +134,6 @@ class SNC_intersection {
if( h.has_on( seg.source()) || h.has_on(seg.target())) if( h.has_on( seg.source()) || h.has_on(seg.target()))
/* no possible internal intersection */ /* no possible internal intersection */
return false; 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); Object o = intersection( h, seg);
if( !CGAL::assign( p, o)) if( !CGAL::assign( p, o))
return false; return false;