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
NETGeographicLib::UTMUPS::ZoneSpec::INVALID
@ INVALID
NETGeographicLib::UTMUPS::StandardZone
static int StandardZone(double lat, double lon, int setzone)
Definition: dotnet/NETGeographicLib/UTMUPS.cpp:19
NETGeographicLib::UTMUPS::MajorRadius
static double MajorRadius()
Definition: dotnet/NETGeographicLib/UTMUPS.cpp:212
NETGeographicLib::UTMUPS
.NET wrapper for GeographicLib::UTMUPS.
Definition: UTMUPS.h:66
x
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
Definition: gnuplot_common_settings.hh:12
NETGeographicLib::UTMUPS::UTMUPS
UTMUPS()
Definition: UTMUPS.h:70
NETGeographicLib::UTMUPS::DecodeEPSG
static void DecodeEPSG(int epsg, [System::Runtime::InteropServices::Out] int% zone, [System::Runtime::InteropServices::Out] bool% northp)
Definition: dotnet/NETGeographicLib/UTMUPS.cpp:191
NETGeographicLib::UTMUPS::ZoneSpec::MINZONE
@ MINZONE
NETGeographicLib::UTMUPS::ZoneSpec::MAXUTMZONE
@ MAXUTMZONE
NETGeographicLib::UTMUPS::Transfer
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)
Definition: dotnet/NETGeographicLib/UTMUPS.cpp:134
gamma
#define gamma
Definition: mconf.h:85
NETGeographicLib::UTMUPS::DecodeZone
static void DecodeZone(System::String^ zonestr, [System::Runtime::InteropServices::Out] int% zone, [System::Runtime::InteropServices::Out] bool% northp)
Definition: dotnet/NETGeographicLib/UTMUPS.cpp:158
y
Scalar * y
Definition: level1_cplx_impl.h:124
NETGeographicLib::UTMUPS::EncodeEPSG
static int EncodeEPSG(int zone, bool northp)
Definition: dotnet/NETGeographicLib/UTMUPS.cpp:203
NETGeographicLib::UTMUPS::ZoneSpec::MINPSEUDOZONE
@ MINPSEUDOZONE
NETGeographicLib::UTMUPS::Flattening
static double Flattening()
Definition: dotnet/NETGeographicLib/UTMUPS.cpp:215
NETGeographicLib::UTMUPS::ZoneSpec::UPS
@ UPS
NETGeographicLib::UTMUPS::Forward
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)
Definition: dotnet/NETGeographicLib/UTMUPS.cpp:32
NETGeographicLib::UTMUPS::ZoneSpec::MINUTMZONE
@ MINUTMZONE
NETGeographicLib::UTMUPS::ZoneSpec::STANDARD
@ STANDARD
NETGeographicLib::UTMUPS::ZoneSpec::MAXZONE
@ MAXZONE
lon
static const double lon
Definition: testGeographicLib.cpp:34
NETGeographicLib::UTMUPS::Reverse
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)
Definition: dotnet/NETGeographicLib/UTMUPS.cpp:64
NETGeographicLib::UTMUPS::UTMShift
static double UTMShift()
Definition: dotnet/NETGeographicLib/UTMUPS.cpp:209
NETGeographicLib::UTMUPS::ZoneSpec::MATCH
@ MATCH
NETGeographicLib
Definition: Accumulator.h:13
NETGeographicLib::UTMUPS::ZoneSpec
ZoneSpec
Definition: UTMUPS.h:81
NETGeographicLib::UTMUPS::EncodeZone
static System::String EncodeZone(int zone, bool northp, bool abbrev)
Definition: dotnet/NETGeographicLib/UTMUPS.cpp:178
NETGeographicLib::UTMUPS::ZoneSpec::UTM
@ UTM
lat
static const double lat
Definition: testGeographicLib.cpp:34
NETGeographicLib::UTMUPS::ZoneSpec::MAXPSEUDOZONE
@ MAXPSEUDOZONE


gtsam
Author(s):
autogenerated on Mon Jul 1 2024 03:08:33