1 using namespace System;
8 Rhumb^ rhumb =
gcnew Rhumb(Constants::WGS84::MajorRadius, Constants::WGS84::Flattening,
true);
11 lat1 = 40.640, lon1 = -73.779,
12 lat2 = 1.359, lon2 = 103.989;
14 rhumb->
Inverse(lat1, lon1, lat2, lon2, s12, azi12);
19 int num =
int(Math::Ceiling(s12 / ds0));
22 double ds = s12 / num;
23 for (
int i = 0;
i <= num; ++
i) {
26 Console::WriteLine(
"{0} {1} {2}",
i,
lat,
lon );
31 Console::WriteLine(String::Format(
"Caught exception: {0}",
e->Message));