Remove casts to Oriented_side.

They are useless since we merged the various enum types.
This commit is contained in:
Sylvain Pion
2008-04-09 12:35:10 +00:00
parent b740e90de0
commit b0f2c77fdc
19 changed files with 64 additions and 64 deletions
@@ -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;
}
};