14using namespace System;
140 System::Exception( gcnew System::String( msg ) ) {}
154 {
return gcnew System::String( s.c_str() ); }
179 static const double m_EquatorialRadius = 6378135.0;
181 static const double m_Flattening = 1.0 / 298.26;
183 static const double m_GravitationalConstant = 3.986008e+14;
185 static const double m_EarthRate = 7.292115147e-5;
187 static const double m_J2 = 1.0826158e-3;
190 static property double EquatorialRadius {
double get() {
return m_EquatorialRadius; } }
192 static property double Flattening {
double get() {
return m_Flattening; } }
196 static property double EarthRate {
double get() {
return m_EarthRate; } }
198 static property double J2 {
double get() {
return m_J2; } }
209 static const double m_EquatorialRadius = 6378137.0;
211 static const double m_Flattening = 1.0 / 298.257223563;
215 static const double m_GravitationalConstant = 3.986005e+14;
217 static const double m_EarthRate = 7.292115e-5;
219 static const double m_J2 = 1.08263e-3;
222 static property double EquatorialRadius {
double get() {
return m_EquatorialRadius; } }
224 static property double Flattening {
double get() {
return m_Flattening; } }
228 static property double EarthRate {
double get() {
return m_EarthRate; } }
230 static property double J2 {
double get() {
return m_J2; } }
241 static const double m_EquatorialRadius = 6378137.0;
243 static const double m_Flattening = 1.0 / 298.257222100882711;
245 static const double m_GravitationalConstant = 3.986005e+14;
247 static const double m_EarthRate = 7.292115e-5;
249 static const double m_J2 = 1.08263e-3;
252 static property double EquatorialRadius {
double get() {
return m_EquatorialRadius; } }
254 static property double Flattening {
double get() {
return m_Flattening; } }
258 static property double EarthRate {
double get() {
return m_EarthRate; } }
260 static property double J2 {
double get() {
return m_J2; } }
static double EarthRate
The spin rate of the Earth in radians/second.
static double GravitationalConstant
The gravitational constant in meters3/second2.
static double EquatorialRadius
The equatorial radius in meters.
static double Flattening
The flattening of the ellipsoid.
static double J2
The dynamical form factor (J2).
static double EquatorialRadius
The equatorial radius in meters.
static double J2
The dynamical form factor (J2).
static double EarthRate
The spin rate of the Earth in radians/second.
static double GravitationalConstant
The gravitational constant in meters3/second2.
static double Flattening
The flattening of the ellipsoid.
static double J2
The dynamical form factor (J2).
static double EquatorialRadius
The equatorial radius in meters.
static double GravitationalConstant
The gravitational constant in meters3/second2.
static double EarthRate
The spin rate of the Earth in radians/second.
static double Flattening
The flattening of the ellipsoid.
Exception class for NETGeographicLib.
GeographicErr(System::String^ msg)
Creates an exception using a managed string.
GeographicErr(const char *msg)
Creates an exception using an unmanaged string.
static System::String ^ UnmanagedToManaged(const std::string &s)
static std::string ManagedToUnmanaged(System::String^ s)
static double FractionalYear(System::String^ s)
static int MinorVersion()
static System::String ^ GetString()
static int MajorVersion()