mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
Style
This commit is contained in:
@@ -100,7 +100,7 @@ namespace BlackMisc
|
||||
bool ICoordinateGeodetic::isWithinRange(const ICoordinateGeodetic &otherCoordinate, const CLength &range) const
|
||||
{
|
||||
if (range.isNull()) { return false; }
|
||||
const CLength distance = calculateGreatCircleDistance(otherCoordinate);
|
||||
const CLength distance = this->calculateGreatCircleDistance(otherCoordinate);
|
||||
if (distance.isNull()) { return false; }
|
||||
return distance <= range;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user