Geohash.h
Go to the documentation of this file.
1 #pragma once
2 
13 namespace NETGeographicLib
14 {
34  public ref class Geohash
35  {
36  private:
37  // hide the constructor since all members of this class are static.
38  Geohash() {}
39  public:
40 
56  static void Forward(double lat, double lon, int len,
57  [System::Runtime::InteropServices::Out] System::String^% geohash);
58 
76  static void Reverse(System::String^ geohash,
77  [System::Runtime::InteropServices::Out] double% lat,
78  [System::Runtime::InteropServices::Out] double% lon,
79  [System::Runtime::InteropServices::Out] int% len,
80  bool centerp);
81 
90  static double LatitudeResolution(int len);
91 
100  static double LongitudeResolution(int len);
101 
111  static int GeohashLength(double res);
112 
122  static int GeohashLength(double latres, double lonres);
123 
135  static int DecimalPrecision(int len);
136  };
137 } // namespace NETGeographicLib
static const double lat
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
.NET wrapper for GeographicLib::Geohash.
Definition: Geohash.h:34
static void Reverse(System::String^ geohash, [System::Runtime::InteropServices::Out] double% lat, [System::Runtime::InteropServices::Out] double% lon, [System::Runtime::InteropServices::Out] int% len, bool centerp)
static const double lon
static void Forward(double lat, double lon, int len, [System::Runtime::InteropServices::Out] System::String^% geohash)
size_t len(handle h)
Get the length of a Python object.
Definition: pytypes.h:2244


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:18