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
@@ -458,11 +458,10 @@ side_of_oriented_circleC2(const FT &px, const FT &py,
const FT &rx, const FT &ry,
const FT &tx, const FT &ty)
{
// Oriented_side(
// sign_of_determinant(px, py, px*px + py*py, 1,
// qx, qy, qx*qx + qy*qy, 1,
// rx, ry, rx*rx + ry*ry, 1,
// tx, ty, tx*tx + ty*ty, 1));
// tx, ty, tx*tx + ty*ty, 1);
// We first translate so that p is the new origin.
FT qpx = qx-px;
FT qpy = qy-py;
@@ -475,7 +474,7 @@ side_of_oriented_circleC2(const FT &px, const FT &py,
// rpx, rpy, square(rpx) + square(rpy),
// tpx, tpy, square(tpx) + square(tpy)));
return sign_of_determinant<FT>( qpx*tpy - qpy*tpx, tpx*(tx-qx) + tpy*(ty-qy),
qpx*rpy - qpy*rpx, rpx*(rx-qx) + rpy*(ry-qy));
qpx*rpy - qpy*rpx, rpx*(rx-qx) + rpy*(ry-qy));
}
template < class FT >