mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Ref T259, Ref T243 use minimum range for elevations in provider
This commit is contained in:
@@ -79,7 +79,8 @@ namespace BlackMisc
|
||||
|
||||
CElevationPlane ISimulationEnvironmentProvider::findClosestElevationWithinRange(const ICoordinateGeodetic &reference, const PhysicalQuantities::CLength &range) const
|
||||
{
|
||||
return this->getElevationCoordinates().findClosestWithinRange(reference, range);
|
||||
const CLength r = range < CElevationPlane::singlePointRadius() ? CElevationPlane::singlePointRadius() : range;
|
||||
return this->getElevationCoordinates().findClosestWithinRange(reference, r);
|
||||
}
|
||||
|
||||
CSimulatorPluginInfo ISimulationEnvironmentProvider::getSimulatorPluginInfo() const
|
||||
|
||||
Reference in New Issue
Block a user