mirror of https://github.com/CGAL/cgal
- Remove obsolete left/right_turn function based on Origin : they are obsolete,
and they didn't compile even in 2.4.
This commit is contained in:
parent
2c4b63c04f
commit
88ebf98a47
|
|
@ -1,3 +1,7 @@
|
|||
Version 6.66 (20 January 2003)
|
||||
- Remove obsolete left/right_turn function based on Origin : they are obsolete,
|
||||
and they didn't compile even in 2.4.
|
||||
|
||||
Version 6.65 (20 January 2003)
|
||||
- Finish last change : remove *handle_[23] types from the main kernel classes.
|
||||
|
||||
|
|
|
|||
|
|
@ -293,26 +293,6 @@ right_turn(const PointC2<R> &p,
|
|||
return orientation(p, q, r) == RIGHT_TURN;
|
||||
}
|
||||
|
||||
template < class R >
|
||||
inline
|
||||
bool
|
||||
left_turn(const Origin &o,
|
||||
const PointC2<R> &q,
|
||||
const PointC2<R> &r)
|
||||
{
|
||||
return Orientation (sign_of_determinant2x2(qx, qy, rx, ry)) == LEFT_TURN;
|
||||
}
|
||||
|
||||
template < class R >
|
||||
inline
|
||||
bool
|
||||
right_turn(const Origin &o,
|
||||
const PointC2<R> &q,
|
||||
const PointC2<R> &r)
|
||||
{
|
||||
return Orientation (sign_of_determinant2x2(qx, qy, rx, ry)) == RIGHT_TURN;
|
||||
}
|
||||
|
||||
#ifndef CGAL_NO_DEPRECATED_CODE
|
||||
template < class R >
|
||||
inline
|
||||
|
|
@ -335,28 +315,6 @@ rightturn(const PointC2<R> &p,
|
|||
bool THIS_FUNCTION_IS_DEPRECATED; // Use right_turn instead.
|
||||
return orientation(p, q, r) == RIGHT_TURN;
|
||||
}
|
||||
|
||||
template < class R >
|
||||
inline
|
||||
bool
|
||||
leftturn(const Origin &o,
|
||||
const PointC2<R> &q,
|
||||
const PointC2<R> &r)
|
||||
{
|
||||
bool THIS_FUNCTION_IS_DEPRECATED; // Use left_turn instead.
|
||||
return Orientation (sign_of_determinant2x2(qx, qy, rx, ry)) == LEFT_TURN;
|
||||
}
|
||||
|
||||
template < class R >
|
||||
inline
|
||||
bool
|
||||
rightturn(const Origin &o,
|
||||
const PointC2<R> &q,
|
||||
const PointC2<R> &r)
|
||||
{
|
||||
bool THIS_FUNCTION_IS_DEPRECATED; // Use right_turn instead.
|
||||
return Orientation (sign_of_determinant2x2(qx, qy, rx, ry)) == RIGHT_TURN;
|
||||
}
|
||||
#endif
|
||||
|
||||
template <class R>
|
||||
|
|
|
|||
Loading…
Reference in New Issue