mirror of https://github.com/CGAL/cgal
Add compatibility with CGAL_MESH_3_NEW_ROBUST_INTERSECTION_TRAITS
When CGAL_MESH_3_NEW_ROBUST_INTERSECTION_TRAITS is defined, the Construct_intersection functor is always called, and Do_intersect_3 no longer is. An assertion must be removed, because Construct_intersection can be called on a query object that does not intersect the surface. r66716 from Mesh_3-experimental-GF
This commit is contained in:
parent
1cf6743d37
commit
fa2b77cd50
|
|
@ -235,7 +235,9 @@ public:
|
|||
|
||||
Intersection operator()(const Segment_3& s) const
|
||||
{
|
||||
#ifndef CGAL_MESH_3_NEW_ROBUST_INTERSECTION_TRAITS
|
||||
CGAL_precondition(r_domain_.do_intersect_surface_object()(s));
|
||||
#endif
|
||||
return this->operator()(s.source(),s.target());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue