47 LATITUDE = 1U<<7 | unsigned(captype::CAP_NONE),
52 LONGITUDE = 1U<<8 | unsigned(captype::CAP_C3),
59 AZIMUTH = 1U<<9 | unsigned(captype::CAP_NONE),
64 DISTANCE = 1U<<10 | unsigned(captype::CAP_C1),
71 unsigned(captype::CAP_C1p),
77 unsigned(captype::CAP_C2),
83 unsigned(captype::CAP_C2),
88 AREA = 1U<<14 | unsigned(captype::CAP_C4),
93 ALL = unsigned(captype::OUT_ALL) | unsigned(captype::CAP_ALL),
107 static System::String^ GetString();
111 static int MajorVersion();
115 static int MinorVersion();
145 static std::string ManagedToUnmanaged( System::String^ s );
147 {
return gcnew System::String( s.c_str() ); }
172 static const double m_MajorRadius = 6378135.0;
174 static const double m_Flattening = 1.0 / 298.26;
176 static const double m_GravitationalConstant = 3.986008e+14;
178 static const double m_EarthRate = 7.292115147e-5;
180 static const double m_J2 = 1.0826158e-3;
183 static property double MajorRadius {
double get() {
return m_MajorRadius; } }
185 static property double Flattening {
double get() {
return m_Flattening; } }
187 static property double GravitationalConstant {
double get() {
return m_GravitationalConstant; } }
189 static property double EarthRate {
double get() {
return m_EarthRate; } }
191 static property double J2 {
double get() {
return m_J2; } }
202 static const double m_MajorRadius = 6378137.0;
204 static const double m_Flattening = 1.0 / 298.257223563;
208 static const double m_GravitationalConstant = 3.986005e+14;
210 static const double m_EarthRate = 7.292115e-5;
212 static const double m_J2 = 1.08263e-3;
215 static property double MajorRadius {
double get() {
return m_MajorRadius; } }
217 static property double Flattening {
double get() {
return m_Flattening; } }
219 static property double GravitationalConstant {
double get() {
return m_GravitationalConstant; } }
221 static property double EarthRate {
double get() {
return m_EarthRate; } }
223 static property double J2 {
double get() {
return m_J2; } }
234 static const double m_MajorRadius = 6378137.0;
236 static const double m_Flattening = 1.0 / 298.257222100882711;
238 static const double m_GravitationalConstant = 3.986005e+14;
240 static const double m_EarthRate = 7.292115e-5;
242 static const double m_J2 = 1.08263e-3;
245 static property double MajorRadius {
double get() {
return m_MajorRadius; } }
247 static property double Flattening {
double get() {
return m_Flattening; } }
249 static property double GravitationalConstant {
double get() {
return m_GravitationalConstant; } }
251 static property double EarthRate {
double get() {
return m_EarthRate; } }
253 static property double J2 {
double get() {
return m_J2; } }
Exception class for NETGeographicLib.
static System::String^ UnmanagedToManaged(const std::string &s)
GeographicErr(const char *msg)
Creates an exception using an unmanaged string.
GeographicErr(System::String^ msg)
Creates an exception using a managed string.