Geoid.h
Go to the documentation of this file.
1 #pragma once
2 
13 namespace NETGeographicLib
14 {
71  public ref class Geoid
72  {
73  private:
74  // a pointer to the unmanaged GeographicLib::Geoid.
76 
77  // the finalizer frees hthe unmanaged memory when the object is destroyed.
78  !Geoid(void);
79  public:
84  enum class ConvertFlag {
89  ELLIPSOIDTOGEOID = -1,
93  NONE = 0,
98  GEOIDTOELLIPSOID = 1,
99  };
100 
103 
125  Geoid(System::String^ name, System::String^ path,
126  bool cubic, bool threadsafe);
131  { this->!Geoid(); }
132 
152  void CacheArea(double south, double west, double north, double east);
153 
167  void CacheAll();
168 
173  void CacheClear();
174 
176 
179 
191  double Height(double lat, double lon);
192 
208  double ConvertHeight(double lat, double lon, double h,
209  ConvertFlag d);
210 
212 
215 
220  property System::String^ Description { System::String^ get(); }
221 
225  property System::String^ DateTime { System::String^ get(); }
226 
230  property System::String^ GeoidFile { System::String^ get(); }
231 
236  property System::String^ GeoidName { System::String^ get(); }
237 
241  property System::String^ GeoidDirectory { System::String^ get(); }
242 
246  property System::String^ Interpolation { System::String^ get(); }
247 
255  property double MaxError { double get(); }
256 
264  property double RMSError { double get(); }
265 
272  property double Offset { double get(); }
273 
280  property double Scale { double get(); }
281 
285  property bool ThreadSafe { bool get(); }
286 
290  property bool Cache { bool get(); }
291 
295  property double CacheWest { double get(); }
296 
300  property double CacheEast { double get(); }
301 
305  property double CacheNorth { double get(); }
306 
311  property double CacheSouth { double get(); }
312 
319  property double MajorRadius { double get(); }
320 
327  property double Flattening { double get(); }
329 
340  static System::String^ DefaultGeoidPath();
341 
350  static System::String^ DefaultGeoidName();
351  };
352 } // namespace NETGeographicLib
property System::String DateTime
Definition: Geoid.h:225
property double MaxError
Definition: Geoid.h:255
property double CacheNorth
Definition: Geoid.h:305
double ConvertHeight(double lat, double lon, double h, ConvertFlag d)
static const double lat
property double Scale
Definition: Geoid.h:280
property double RMSError
Definition: Geoid.h:264
static System::String DefaultGeoidName()
property double MajorRadius
Definition: Geoid.h:319
property double CacheSouth
Definition: Geoid.h:311
property bool Cache
Definition: Geoid.h:290
property System::String Description
Definition: Geoid.h:220
double Height(double lat, double lon)
property System::String GeoidFile
Definition: Geoid.h:230
property System::String Interpolation
Definition: Geoid.h:246
const double h
static System::String DefaultGeoidPath()
property System::String GeoidDirectory
Definition: Geoid.h:241
property double CacheWest
Definition: Geoid.h:295
Geoid(System::String^ name, System::String^ path, bool cubic, bool threadsafe)
const GeographicLib::Geoid * m_pGeoid
Definition: Geoid.h:75
static const double lon
Annotation for function names.
Definition: attr.h:48
property double Offset
Definition: Geoid.h:272
property double CacheEast
Definition: Geoid.h:300
property System::String GeoidName
Definition: Geoid.h:236
property bool ThreadSafe
Definition: Geoid.h:285
void CacheArea(double south, double west, double north, double east)
property double Flattening
Definition: Geoid.h:327
Looking up the height of the geoid above the ellipsoid.
Definition: Geoid.hpp:82
.NET wrapper for GeographicLib::Geoid.
Definition: Geoid.h:71


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