diff options
Diffstat (limited to 'boost/geometry/strategy/spherical/envelope_segment.hpp')
-rw-r--r-- | boost/geometry/strategy/spherical/envelope_segment.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/boost/geometry/strategy/spherical/envelope_segment.hpp b/boost/geometry/strategy/spherical/envelope_segment.hpp index fd6e9865b3..428f0f71a7 100644 --- a/boost/geometry/strategy/spherical/envelope_segment.hpp +++ b/boost/geometry/strategy/spherical/envelope_segment.hpp @@ -125,7 +125,6 @@ private: CalculationType const& a2) { // azimuths a1 and a2 are assumed to be in radians - BOOST_GEOMETRY_ASSERT(! math::equals(a1, a2)); static CalculationType const pi_half = math::half_pi<CalculationType>(); @@ -164,12 +163,6 @@ private: CalculationType lat1_rad = math::as_radian<Units>(lat1); CalculationType lat2_rad = math::as_radian<Units>(lat2); - if (math::equals(a1, a2)) - { - // the segment must lie on the equator or is very short or is meridian - return; - } - if (lat1 > lat2) { std::swap(lat1, lat2); |