mirror of https://github.com/CGAL/cgal
Update Tetrahedron_3_Bounded_3_do_intersect.h
changed the || to operator |, for more details see https://doc.cgal.org/latest/STL_Extension/classCGAL_1_1Uncertain.html#aee84a3df3e0b7494f32eb9d56c1335c3
This commit is contained in:
parent
bbf26e22ec
commit
17afba2e1f
|
|
@ -175,13 +175,13 @@ inline typename K::Boolean do_intersect(const CGAL::Bbox_3 &aabb,
|
|||
using Tr = CGAL::Triangle_3<K>;
|
||||
typename K::Boolean result = do_intersect(aabb, Tr(tet[0], tet[1], tet[2]), k);
|
||||
if (certainly(result)) return result;
|
||||
result = result || do_intersect(aabb, Tr(tet[1], tet[2], tet[3]), k);
|
||||
result = result | do_intersect(aabb, Tr(tet[1], tet[2], tet[3]), k);
|
||||
if (certainly(result)) return result;
|
||||
result = result || do_intersect(aabb, Tr(tet[2], tet[3], tet[0]), k);
|
||||
result = result | do_intersect(aabb, Tr(tet[2], tet[3], tet[0]), k);
|
||||
if (certainly(result)) return result;
|
||||
result = result || do_intersect(aabb, Tr(tet[3], tet[0], tet[1]), k);
|
||||
result = result | do_intersect(aabb, Tr(tet[3], tet[0], tet[1]), k);
|
||||
if (certainly(result)) return result;
|
||||
result = result ||
|
||||
result = result |
|
||||
k.has_on_bounded_side_3_object()(
|
||||
tet, typename K::Point_3(aabb.xmin(), aabb.ymin(), aabb.zmin()));
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Reference in New Issue