diff --git a/include/boost/geometry/strategies/cartesian/distance_projected_point.hpp b/include/boost/geometry/strategies/cartesian/distance_projected_point.hpp index 43adbcb03..e2cda981d 100644 --- a/include/boost/geometry/strategies/cartesian/distance_projected_point.hpp +++ b/include/boost/geometry/strategies/cartesian/distance_projected_point.hpp @@ -286,37 +286,11 @@ struct projected_point_ax_result T atd, xtd; - // ^.... - // |.... - // +---> - friend bool operator<(projected_point_ax_result const& left, - projected_point_ax_result const& right) - { - return left.atd < right.atd && left.xtd < right.xtd; - } - - // ......... - // ......... - // ... - // ^ ... - // | ... - // +---> ... friend bool operator>(projected_point_ax_result const& left, projected_point_ax_result const& right) { return left.atd > right.atd || left.xtd > right.xtd; } - - // ...... - // ^ . - // | . - // +--->. - friend bool operator==(projected_point_ax_result const& left, - projected_point_ax_result const& right) - { - return ( left.atd == right.atd && left.xtd <= right.xtd ) - || ( left.atd <= right.atd && left.xtd == right.xtd ); - } }; // This strategy returns 2-component Point/Segment distance.