mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #291, member method great circle distance
This commit is contained in:
@@ -163,5 +163,13 @@ namespace BlackMisc
|
||||
return CLength(qAbs(dist), CLengthUnit::NM());
|
||||
}
|
||||
|
||||
/*
|
||||
* Great circle distance
|
||||
*/
|
||||
CLength ICoordinateGeodetic::greatCircleDistance(const ICoordinateGeodetic &otherCoordinate)
|
||||
{
|
||||
return Geo::greatCircleDistance((*this), otherCoordinate);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user