Geocentric.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 namespace NETGeographicLib
14 {
68  public ref class Geocentric
69  {
70  private:
71  // pointer to the unmanaged GeographicLib::Geocentric
73 
74  // The finalizer frees unmanaged memory when the object is destroyed.
75  !Geocentric();
76  public:
86  Geocentric(double a, double f);
87 
91  Geocentric();
92 
99 
104  { this->!Geocentric(); }
105 
118  void Forward(double lat, double lon, double h,
119  [System::Runtime::InteropServices::Out] double% X,
120  [System::Runtime::InteropServices::Out] double% Y,
121  [System::Runtime::InteropServices::Out] double% Z);
122 
145  void Forward(double lat, double lon, double h,
146  [System::Runtime::InteropServices::Out] double% X,
147  [System::Runtime::InteropServices::Out] double% Y,
148  [System::Runtime::InteropServices::Out] double% Z,
149  [System::Runtime::InteropServices::Out] array<double,2>^% M);
150 
171  void Reverse(double X, double Y, double Z,
172  [System::Runtime::InteropServices::Out] double% lat,
173  [System::Runtime::InteropServices::Out] double% lon,
174  [System::Runtime::InteropServices::Out] double% h);
175 
198  void Reverse(double X, double Y, double Z,
199  [System::Runtime::InteropServices::Out] double% lat,
200  [System::Runtime::InteropServices::Out] double% lon,
201  [System::Runtime::InteropServices::Out] double% h,
202  [System::Runtime::InteropServices::Out] array<double,2>^% M);
203 
206 
211 
216  property double MajorRadius { double get(); }
217 
222  property double Flattening { double get(); }
224  };
225 } // namespace NETGeographicLib
Matrix< RealScalar, Dynamic, Dynamic > M
Definition: bench_gemm.cpp:38
static const double lat
Definition: numpy.h:543
void g(const string &key, int i)
Definition: testBTree.cpp:43
.NET wrapper for GeographicLib::Geocentric.
Definition: Geocentric.h:68
property double MajorRadius
Definition: Geocentric.h:216
Array33i a
Geocentric coordinates
Definition: Geocentric.hpp:67
std::ptrdiff_t IntPtr
Definition: Meta.h:50
#define Z
Definition: icosphere.cpp:21
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
property double Flattening
Definition: Geocentric.h:222
const double h
void Forward(double lat, double lon, double h, [System::Runtime::InteropServices::Out] double%X, [System::Runtime::InteropServices::Out] double%Y, [System::Runtime::InteropServices::Out] double%Z)
static const double lon
void Reverse(double X, double Y, double Z, [System::Runtime::InteropServices::Out] double%lat, [System::Runtime::InteropServices::Out] double%lon, [System::Runtime::InteropServices::Out] double%h)
#define X
Definition: icosphere.cpp:20
const GeographicLib::Geocentric * m_pGeocentric
Definition: Geocentric.h:72


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:07