18 const char BADALLOC[] =
"Failed to allocate memory for a GeographicLib::GeodesicLine";
23 if ( m_pGeodesicLine !=
NULL )
25 delete m_pGeodesicLine;
26 m_pGeodesicLine =
NULL;
38 g->GetUnmanaged()->ToPointer() );
40 lat1, lon1, azi1,
static_cast<unsigned>(caps) );
42 catch ( std::bad_alloc )
55 catch (std::bad_alloc)
69 static_cast<unsigned>(caps) );
71 catch ( std::bad_alloc )
79 [System::Runtime::InteropServices::Out]
double% lat2,
80 [System::Runtime::InteropServices::Out]
double% lon2,
81 [System::Runtime::InteropServices::Out]
double% azi2,
82 [System::Runtime::InteropServices::Out]
double% m12,
83 [System::Runtime::InteropServices::Out]
double% M12,
84 [System::Runtime::InteropServices::Out]
double% M21,
85 [System::Runtime::InteropServices::Out]
double% S12)
87 double llat2, llon2, lazi2, lm12, lM12, lM21, lS12;
102 [System::Runtime::InteropServices::Out]
double% lat2,
103 [System::Runtime::InteropServices::Out]
double% lon2)
114 [System::Runtime::InteropServices::Out]
double% lat2,
115 [System::Runtime::InteropServices::Out]
double% lon2,
116 [System::Runtime::InteropServices::Out]
double% azi2)
118 double llat2, llon2, lazi2;
128 [System::Runtime::InteropServices::Out]
double% lat2,
129 [System::Runtime::InteropServices::Out]
double% lon2,
130 [System::Runtime::InteropServices::Out]
double% azi2,
131 [System::Runtime::InteropServices::Out]
double% m12)
133 double llat2, llon2, lazi2, lm12;
145 [System::Runtime::InteropServices::Out]
double% lat2,
146 [System::Runtime::InteropServices::Out]
double% lon2,
147 [System::Runtime::InteropServices::Out]
double% azi2,
148 [System::Runtime::InteropServices::Out]
double% M12,
149 [System::Runtime::InteropServices::Out]
double% M21)
151 double llat2, llon2, lazi2, lM12, lM21;
164 [System::Runtime::InteropServices::Out]
double% lat2,
165 [System::Runtime::InteropServices::Out]
double% lon2,
166 [System::Runtime::InteropServices::Out]
double% azi2,
167 [System::Runtime::InteropServices::Out]
double% m12,
168 [System::Runtime::InteropServices::Out]
double% M12,
169 [System::Runtime::InteropServices::Out]
double% M21)
171 double llat2, llon2, lazi2, lm12, lM12, lM21;
185 [System::Runtime::InteropServices::Out]
double% lat2,
186 [System::Runtime::InteropServices::Out]
double% lon2,
187 [System::Runtime::InteropServices::Out]
double% azi2,
188 [System::Runtime::InteropServices::Out]
double% s12,
189 [System::Runtime::InteropServices::Out]
double% m12,
190 [System::Runtime::InteropServices::Out]
double% M12,
191 [System::Runtime::InteropServices::Out]
double% M21,
192 [System::Runtime::InteropServices::Out]
double% S12)
194 double llat2, llon2, lazi2, ls12, lm12, lM12, lM21, lS12;
196 ls12, lm12, lM12, lM21, lS12 );
209 [System::Runtime::InteropServices::Out]
double% lat2,
210 [System::Runtime::InteropServices::Out]
double% lon2)
220 [System::Runtime::InteropServices::Out]
double% lat2,
221 [System::Runtime::InteropServices::Out]
double% lon2,
222 [System::Runtime::InteropServices::Out]
double% azi2)
224 double llat2, llon2, lazi2;
233 [System::Runtime::InteropServices::Out]
double% lat2,
234 [System::Runtime::InteropServices::Out]
double% lon2,
235 [System::Runtime::InteropServices::Out]
double% azi2,
236 [System::Runtime::InteropServices::Out]
double% s12)
238 double llat2, llon2, lazi2, ls12;
248 [System::Runtime::InteropServices::Out]
double% lat2,
249 [System::Runtime::InteropServices::Out]
double% lon2,
250 [System::Runtime::InteropServices::Out]
double% azi2,
251 [System::Runtime::InteropServices::Out]
double% s12,
252 [System::Runtime::InteropServices::Out]
double% m12)
254 double llat2, llon2, lazi2, ls12, lm12;
265 [System::Runtime::InteropServices::Out]
double% lat2,
266 [System::Runtime::InteropServices::Out]
double% lon2,
267 [System::Runtime::InteropServices::Out]
double% azi2,
268 [System::Runtime::InteropServices::Out]
double% s12,
269 [System::Runtime::InteropServices::Out]
double% M12,
270 [System::Runtime::InteropServices::Out]
double% M21)
272 double llat2, llon2, lazi2, ls12, lM12, lM21;
285 [System::Runtime::InteropServices::Out]
double% lat2,
286 [System::Runtime::InteropServices::Out]
double% lon2,
287 [System::Runtime::InteropServices::Out]
double% azi2,
288 [System::Runtime::InteropServices::Out]
double% s12,
289 [System::Runtime::InteropServices::Out]
double% m12,
290 [System::Runtime::InteropServices::Out]
double% M12,
291 [System::Runtime::InteropServices::Out]
double% M21)
293 double llat2, llon2, lazi2, ls12, lm12, lM12, lM21;
295 ls12, lm12, lM12, lM21 );
308 [System::Runtime::InteropServices::Out]
double% lat2,
309 [System::Runtime::InteropServices::Out]
double% lon2,
310 [System::Runtime::InteropServices::Out]
double% azi2,
311 [System::Runtime::InteropServices::Out]
double% s12,
312 [System::Runtime::InteropServices::Out]
double% m12,
313 [System::Runtime::InteropServices::Out]
double% M12,
314 [System::Runtime::InteropServices::Out]
double% M21,
315 [System::Runtime::InteropServices::Out]
double% S12)
317 double llat2, llon2, lazi2, ls12, lm12, lM12, lM21, lS12;
319 static_cast<unsigned>(outmask),
320 llat2, llon2, lazi2, ls12, lm12, lM12, lM21, lS12 );
343 {
return m_pGeodesicLine->EquatorialAzimuth(); }
347 {
return m_pGeodesicLine->EquatorialArc(); }
351 {
return m_pGeodesicLine->MajorRadius(); }
355 {
return m_pGeodesicLine->Flattening(); }
359 {
return m_pGeodesicLine->Distance(); }
363 {
return m_pGeodesicLine->Arc(); }