diff options
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/latlon.cpp | 5 | ||||
-rw-r--r-- | geometry/latlon.hpp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/geometry/latlon.cpp b/geometry/latlon.cpp index eefcd02386..636a91c054 100644 --- a/geometry/latlon.cpp +++ b/geometry/latlon.cpp @@ -4,6 +4,11 @@ namespace ms { +// static +double const LatLon::kMinLat = -90; +double const LatLon::kMaxLat = 90; +double const LatLon::kMinLon = -180; +double const LatLon::kMaxLon = 180; string DebugPrint(LatLon const & t) { diff --git a/geometry/latlon.hpp b/geometry/latlon.hpp index dd9b30d834..3204eec693 100644 --- a/geometry/latlon.hpp +++ b/geometry/latlon.hpp @@ -11,6 +11,11 @@ namespace ms class LatLon { public: + static double const kMinLat; + static double const kMaxLat; + static double const kMinLon; + static double const kMaxLon; + double lat, lon; /// Does NOT initialize lat and lon. Allows to use it as a property of an ObjC class. |