From bf38632215f55ed8fe284d2e53013bf2fd216aff Mon Sep 17 00:00:00 2001 From: tatiana-yan Date: Wed, 1 Aug 2018 13:01:58 +0300 Subject: [PATCH] [geometry] Fix comments. --- geometry/mercator.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geometry/mercator.hpp b/geometry/mercator.hpp index cee5cff05f..eea5d1cfee 100644 --- a/geometry/mercator.hpp +++ b/geometry/mercator.hpp @@ -101,9 +101,9 @@ struct MercatorBounds YToLat(mercatorRect.maxY()), XToLon(mercatorRect.maxX())); } - /// Calculates distance on Earth by two points in mercator + /// Calculates distance on Earth in meters between two mercator points. static double DistanceOnEarth(m2::PointD const & p1, m2::PointD const & p2); - /// Calculates area of a triangle on Earth in m² by three points + /// Calculates area of a triangle on Earth in m² by three mercator points. static double AreaOnEarth(m2::PointD const & p1, m2::PointD const & p2, m2::PointD const & p3); };