13 double perimeter, area;
14 unsigned int n = poly->
Compute(
false,
true, perimeter, area);
15 Console::WriteLine(String::Format(
"{0} {1} {2}", n, perimeter, area));
18 Console::WriteLine(String::Format(
"Caught exception: {0}", e->Message));
Exception class for NETGeographicLib.
.NET wrapper for GeographicLib::PolygonArea and PolygonAreaExact.
void AddPoint(double lat, double lon)
.NET wrapper for GeographicLib::Geodesic.
unsigned Compute(bool reverse, bool sign, [System::Runtime::InteropServices::Out] double%perimeter, [System::Runtime::InteropServices::Out] double%area)
int main(array< System::String^>^)
Array< double, 1, 3 > e(1./3., 0.5, 2.)