Update enum_cast<Uncertain> calls to new API

This commit is contained in:
Mael Rouxel-Labbé
2025-01-08 17:17:55 +01:00
parent f26f41cff1
commit b7de40afce
9 changed files with 30 additions and 10 deletions
@@ -4207,7 +4207,8 @@ namespace CartesianKernelFunctors {
ot = orientation(t.vertex(0), t.vertex(1), t.vertex(2));
if (o1 == ot && o2 == ot && o3 == ot) // ot cannot be COLLINEAR
return ot;
return enum_cast<Oriented_side>(ot);
return
(o1 == COLLINEAR
&& collinear_are_ordered_along_line(t.vertex(0), p, t.vertex(1))) ||