GeoCoords.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 namespace NETGeographicLib
14 {
55  public ref class GeoCoords
56  {
57  private:
58  // pointer to the unmanaged GeographicLib::GeoCoords
60 
61  // The finalizer frees unmanaged memory when the object is destroyed.
62  !GeoCoords();
63  public:
66 
70  GeoCoords();
71 
157  GeoCoords(System::String^ s, bool centerp, bool longfirst );
158 
170  GeoCoords(double latitude, double longitude, int zone );
171 
182  GeoCoords(int zone, bool northp, double easting, double northing);
183 
187  ~GeoCoords() { this->!GeoCoords(); }
188 
200  void Reset( System::String^ s, bool centerp, bool longfirst);
201 
214  void Reset(double latitude, double longitude, int zone ) ;
215 
227  void Reset(int zone, bool northp, double easting, double northing);
229 
232 
236  property double Latitude { double get(); }
237 
241  property double Longitude { double get(); }
242 
246  property double Easting { double get(); }
247 
251  property double Northing { double get(); }
252 
256  property double Convergence { double get(); }
257 
261  property double Scale { double get(); }
262 
266  property bool Northp { bool get(); }
267 
271  property char Hemisphere { char get(); }
272 
276  property int Zone { int get(); }
277 
288  property int AltZone
289  {
290  int get();
291  void set( int zone );
292  }
294 
298  property double AltEasting { double get(); }
299 
303  property double AltNorthing { double get(); }
304 
308  property double AltConvergence { double get(); }
309 
313  property double AltScale { double get(); }
315 
318 
334  System::String^ GeoRepresentation(int prec, bool longfirst );
335 
357  System::String^ DMSRepresentation(int prec, bool longfirst,
358  char dmssep );
359 
381  System::String^ MGRSRepresentation(int prec);
382 
401  System::String^ UTMUPSRepresentation(int prec, bool abbrev);
402 
416  System::String^ UTMUPSRepresentation(bool northp, int prec, bool abbrev);
417 
425  System::String^ AltMGRSRepresentation(int prec);
426 
438  System::String^ AltUTMUPSRepresentation(int prec, bool abbrev);
439 
453  System::String^ AltUTMUPSRepresentation(bool northp, int prec, bool abbrev);
455 
458 
465  property double MajorRadius { double get(); }
466 
473  property double Flattening { double get(); }
475  };
476 } //namespace NETGeographicLib
property double Scale
Definition: GeoCoords.h:261
property double AltEasting
Definition: GeoCoords.h:298
Conversion between geographic coordinates.
Definition: GeoCoords.hpp:49
property double Latitude
Definition: GeoCoords.h:236
GeographicLib::GeoCoords * m_pGeoCoords
Definition: GeoCoords.h:59
property double Longitude
Definition: GeoCoords.h:241
property double Convergence
Definition: GeoCoords.h:256
property double Northing
Definition: GeoCoords.h:251
.NET wrapper for GeographicLib::GeoCoords.
Definition: GeoCoords.h:55
property double AltConvergence
Definition: GeoCoords.h:308
property double MajorRadius
Definition: GeoCoords.h:465
property char Hemisphere
Definition: GeoCoords.h:271
RealScalar s
property double AltNorthing
Definition: GeoCoords.h:303
System::String AltUTMUPSRepresentation(int prec, bool abbrev)
void Reset(System::String^ s, bool centerp, bool longfirst)
System::String GeoRepresentation(int prec, bool longfirst)
property double Flattening
Definition: GeoCoords.h:473
System::String UTMUPSRepresentation(int prec, bool abbrev)
property double Easting
Definition: GeoCoords.h:246
System::String DMSRepresentation(int prec, bool longfirst, char dmssep)
property double AltScale
Definition: GeoCoords.h:313


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