Remove casts to Oriented_side.
They are useless since we merged the various enum types.
This commit is contained in:
@@ -4377,7 +4377,7 @@ namespace HomogeneousKernelFunctors {
|
||||
ot = orientation(t.vertex(0), t.vertex(1), t.vertex(2));
|
||||
|
||||
if (o1 == ot && o2 == ot && o3 == ot) // ot cannot be COLLINEAR
|
||||
return Oriented_side(ot);
|
||||
return ot;
|
||||
return
|
||||
(o1 == COLLINEAR
|
||||
&& collinear_are_ordered_along_line(t.vertex(0), p, t.vertex(1))) ||
|
||||
@@ -4386,7 +4386,7 @@ namespace HomogeneousKernelFunctors {
|
||||
(o3 == COLLINEAR
|
||||
&& collinear_are_ordered_along_line(t.vertex(2), p, t.vertex(3)))
|
||||
? ON_ORIENTED_BOUNDARY
|
||||
: Oriented_side(-ot);
|
||||
: -ot;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user