Skip to content

Commit

Permalink
[geometry] Fix comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana-yan authored and mpimenov committed Aug 1, 2018
1 parent c335371 commit bf38632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geometry/mercator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

0 comments on commit bf38632

Please sign in to comment.