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
NETGeographicLib::GeoCoords::Reset
void Reset(System::String^ s, bool centerp, bool longfirst)
Definition: dotnet/NETGeographicLib/GeoCoords.cpp:96
NETGeographicLib::GeoCoords::Easting
property double Easting
Definition: GeoCoords.h:246
NETGeographicLib::GeoCoords::AltMGRSRepresentation
System::String AltMGRSRepresentation(int prec)
Definition: dotnet/NETGeographicLib/GeoCoords.cpp:228
NETGeographicLib::GeoCoords::Zone
property int Zone
Definition: GeoCoords.h:276
s
RealScalar s
Definition: level1_cplx_impl.h:126
NETGeographicLib::GeoCoords::AltScale
property double AltScale
Definition: GeoCoords.h:313
NETGeographicLib::GeoCoords::m_pGeoCoords
GeographicLib::GeoCoords * m_pGeoCoords
Definition: GeoCoords.h:59
NETGeographicLib::GeoCoords::AltConvergence
property double AltConvergence
Definition: GeoCoords.h:308
NETGeographicLib::GeoCoords::Northing
property double Northing
Definition: GeoCoords.h:251
NETGeographicLib::GeoCoords::~GeoCoords
~GeoCoords()
Definition: GeoCoords.h:187
NETGeographicLib::GeoCoords::AltUTMUPSRepresentation
System::String AltUTMUPSRepresentation(int prec, bool abbrev)
Definition: dotnet/NETGeographicLib/GeoCoords.cpp:234
GeographicLib::GeoCoords
Conversion between geographic coordinates.
Definition: GeoCoords.hpp:49
NETGeographicLib::GeoCoords::set
void set(int zone)
NETGeographicLib::GeoCoords::Scale
property double Scale
Definition: GeoCoords.h:261
NETGeographicLib::GeoCoords::Latitude
property double Latitude
Definition: GeoCoords.h:236
NETGeographicLib::GeoCoords::Longitude
property double Longitude
Definition: GeoCoords.h:241
NETGeographicLib::GeoCoords::GeoRepresentation
System::String GeoRepresentation(int prec, bool longfirst)
Definition: dotnet/NETGeographicLib/GeoCoords.cpp:197
NETGeographicLib::GeoCoords::Convergence
property double Convergence
Definition: GeoCoords.h:256
NETGeographicLib::GeoCoords::UTMUPSRepresentation
System::String UTMUPSRepresentation(int prec, bool abbrev)
Definition: dotnet/NETGeographicLib/GeoCoords.cpp:216
NETGeographicLib::GeoCoords
.NET wrapper for GeographicLib::GeoCoords.
Definition: GeoCoords.h:55
NETGeographicLib::GeoCoords::MajorRadius
property double MajorRadius
Definition: GeoCoords.h:465
NETGeographicLib::GeoCoords::AltNorthing
property double AltNorthing
Definition: GeoCoords.h:303
NETGeographicLib::GeoCoords::MGRSRepresentation
System::String MGRSRepresentation(int prec)
Definition: dotnet/NETGeographicLib/GeoCoords.cpp:210
NETGeographicLib::GeoCoords::Hemisphere
property char Hemisphere
Definition: GeoCoords.h:271
NETGeographicLib::GeoCoords::DMSRepresentation
System::String DMSRepresentation(int prec, bool longfirst, char dmssep)
Definition: dotnet/NETGeographicLib/GeoCoords.cpp:203
NETGeographicLib::GeoCoords::Northp
property bool Northp
Definition: GeoCoords.h:266
get
Container::iterator get(Container &c, Position position)
Definition: stdlist_overload.cpp:29
NETGeographicLib::GeoCoords::GeoCoords
GeoCoords()
Definition: dotnet/NETGeographicLib/GeoCoords.cpp:32
NETGeographicLib
Definition: Accumulator.h:13
NETGeographicLib::GeoCoords::AltEasting
property double AltEasting
Definition: GeoCoords.h:298
NETGeographicLib::GeoCoords::Flattening
property double Flattening
Definition: GeoCoords.h:473
NETGeographicLib::GeoCoords::AltZone
property int AltZone
Definition: GeoCoords.h:289


gtsam
Author(s):
autogenerated on Mon Jul 1 2024 03:01:20