diff options
author | vng <viktor.govako@gmail.com> | 2012-09-21 03:22:22 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:43:36 +0300 |
commit | 94fa7d216cffdffe1fbfd58923fe2e6f13523b3a (patch) | |
tree | eb3403e6f804e6c439bac3f52886bceb75f57241 /indexer | |
parent | 52ef202674fc32f1ab0a38a33c437a1e14d6145a (diff) |
Add MercatorBounds::FullRect().
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/mercator.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/mercator.hpp b/indexer/mercator.hpp index b976fb2509..261931c141 100644 --- a/indexer/mercator.hpp +++ b/indexer/mercator.hpp @@ -12,6 +12,8 @@ struct MercatorBounds static double minY; static double maxY; + inline static m2::RectD FullRect() { return m2::RectD(minX, minY, maxX, maxY); } + inline static bool ValidLon(double d) { return my::between_s(-180.0, 180.0, d); |