This commit is contained in:
Klaus Basan
2018-10-06 13:18:56 +02:00
parent 56f2b48c47
commit 1280359fe1
4 changed files with 9 additions and 8 deletions

View File

@@ -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;
}