UTMUPS.h
Go to the documentation of this file.
1 #pragma once
2 
13 namespace NETGeographicLib
14 {
66  public ref class UTMUPS
67  {
68  private:
69  // hide the constructor since all members of the class are static.
70  UTMUPS() {}
71  public:
81  enum class ZoneSpec {
85  MINPSEUDOZONE = -4,
89  INVALID = -4,
94  MATCH = -3,
101  UTM = -2,
110  STANDARD = -1,
114  MAXPSEUDOZONE = -1,
118  MINZONE = 0,
122  UPS = 0,
126  MINUTMZONE = 1,
130  MAXUTMZONE = 60,
134  MAXZONE = 60,
135  };
136 
151  static int StandardZone(double lat, double lon, int setzone);
152 
192  static void Forward(double lat, double lon,
193  [System::Runtime::InteropServices::Out] int% zone,
194  [System::Runtime::InteropServices::Out] bool% northp,
195  [System::Runtime::InteropServices::Out] double% x,
196  [System::Runtime::InteropServices::Out] double% y,
197  [System::Runtime::InteropServices::Out] double% gamma,
198  [System::Runtime::InteropServices::Out] double% k,
199  int setzone, bool mgrslimits);
200 
238  static void Reverse(int zone, bool northp, double x, double y,
239  [System::Runtime::InteropServices::Out] double% lat,
240  [System::Runtime::InteropServices::Out] double% lon,
241  [System::Runtime::InteropServices::Out] double% gamma,
242  [System::Runtime::InteropServices::Out] double% k,
243  bool mgrslimits);
244 
248  static void Forward(double lat, double lon,
249  [System::Runtime::InteropServices::Out] int% zone,
250  [System::Runtime::InteropServices::Out] bool% northp,
251  [System::Runtime::InteropServices::Out] double% x,
252  [System::Runtime::InteropServices::Out] double% y,
253  int setzone, bool mgrslimits );
254 
258  static void Reverse(int zone, bool northp, double x, double y,
259  [System::Runtime::InteropServices::Out] double% lat,
260  [System::Runtime::InteropServices::Out] double% lon,
261  bool mgrslimits);
262 
296  static void Transfer(int zonein, bool northpin, double xin, double yin,
297  int zoneout, bool northpout,
298  [System::Runtime::InteropServices::Out] double% xout,
299  [System::Runtime::InteropServices::Out] double% yout,
300  [System::Runtime::InteropServices::Out] int% zone);
301 
320  static void DecodeZone(System::String^ zonestr,
321  [System::Runtime::InteropServices::Out] int% zone,
322  [System::Runtime::InteropServices::Out] bool% northp);
323 
341  static System::String^ EncodeZone(int zone, bool northp, bool abbrev);
342 
356  static void DecodeEPSG(int epsg,
357  [System::Runtime::InteropServices::Out] int% zone,
358  [System::Runtime::InteropServices::Out] bool% northp);
359 
371  static int EncodeEPSG(int zone, bool northp);
372 
377  static double UTMShift();
378 
381 
388  static double MajorRadius();
389 
396  static double Flattening();
398  };
399 } // namespace NETGeographicLib
static void Transfer(int zonein, bool northpin, double xin, double yin, int zoneout, bool northpout, [System::Runtime::InteropServices::Out] double%xout, [System::Runtime::InteropServices::Out] double%yout, [System::Runtime::InteropServices::Out] int%zone)
Scalar * y
static int StandardZone(double lat, double lon, int setzone)
static const double lat
static void Forward(double lat, double lon, [System::Runtime::InteropServices::Out] int%zone, [System::Runtime::InteropServices::Out] bool%northp, [System::Runtime::InteropServices::Out] double%x, [System::Runtime::InteropServices::Out] double%y, [System::Runtime::InteropServices::Out] double%gamma, [System::Runtime::InteropServices::Out] double%k, int setzone, bool mgrslimits)
static void DecodeEPSG(int epsg, [System::Runtime::InteropServices::Out] int%zone, [System::Runtime::InteropServices::Out] bool%northp)
static void DecodeZone(System::String^zonestr, [System::Runtime::InteropServices::Out] int%zone, [System::Runtime::InteropServices::Out] bool%northp)
const mpreal gamma(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
Definition: mpreal.h:2262
.NET wrapper for GeographicLib::UTMUPS.
Definition: UTMUPS.h:66
static void Reverse(int zone, bool northp, double x, double y, [System::Runtime::InteropServices::Out] double%lat, [System::Runtime::InteropServices::Out] double%lon, [System::Runtime::InteropServices::Out] double%gamma, [System::Runtime::InteropServices::Out] double%k, bool mgrslimits)
static int EncodeEPSG(int zone, bool northp)
static const double lon
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
static System::String EncodeZone(int zone, bool northp, bool abbrev)


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:23