diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2018-08-01 13:01:58 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2018-08-01 16:20:25 +0300 |
commit | bf38632215f55ed8fe284d2e53013bf2fd216aff (patch) | |
tree | 706779d3b30b3accca23f23794d30cacdab17b6a /geometry/mercator.hpp | |
parent | c335371dac19964a5b3299d131fc1c11ab82ec54 (diff) |
[geometry] Fix comments.
Diffstat (limited to 'geometry/mercator.hpp')
-rw-r--r-- | geometry/mercator.hpp | 4 |
1 files 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); }; |