diff --git a/Packages/Cartesian_kernel/changes.txt b/Packages/Cartesian_kernel/changes.txt index 4145db00ac6..faee5ab3708 100644 --- a/Packages/Cartesian_kernel/changes.txt +++ b/Packages/Cartesian_kernel/changes.txt @@ -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. diff --git a/Packages/Cartesian_kernel/include/CGAL/Cartesian/predicates_on_points_2.h b/Packages/Cartesian_kernel/include/CGAL/Cartesian/predicates_on_points_2.h index 9ae5fc9f75a..278c9c1ba7d 100644 --- a/Packages/Cartesian_kernel/include/CGAL/Cartesian/predicates_on_points_2.h +++ b/Packages/Cartesian_kernel/include/CGAL/Cartesian/predicates_on_points_2.h @@ -293,26 +293,6 @@ right_turn(const PointC2 &p, return orientation(p, q, r) == RIGHT_TURN; } -template < class R > -inline -bool -left_turn(const Origin &o, - const PointC2 &q, - const PointC2 &r) -{ - return Orientation (sign_of_determinant2x2(qx, qy, rx, ry)) == LEFT_TURN; -} - -template < class R > -inline -bool -right_turn(const Origin &o, - const PointC2 &q, - const PointC2 &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 &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 &q, - const PointC2 &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 &q, - const PointC2 &r) -{ - bool THIS_FUNCTION_IS_DEPRECATED; // Use right_turn instead. - return Orientation (sign_of_determinant2x2(qx, qy, rx, ry)) == RIGHT_TURN; -} #endif template