mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 18:55:38 +08:00
Ref T778, some smaller style fixes/improvements
for the "underground" airplanes as reported by AK This does NOT fix the issue, but minor shortcomings found during the investigation * style * checks for "developer" env.
This commit is contained in:
committed by
Mat Sutcliffe
parent
cb814583f6
commit
373e45e958
@@ -29,7 +29,7 @@ namespace BlackMisc
|
||||
|
||||
CElevationPlane CCoordinateGeodeticList::averageGeodeticHeight(const CCoordinateGeodetic &reference, const CLength &range, const CLength &maxDeviation, int minValues, int sufficentValues) const
|
||||
{
|
||||
if (this->size() < minValues) { return CElevationPlane::null(); } // no change to succeed
|
||||
if (this->size() < minValues) { return CElevationPlane::null(); } // no chance to succeed
|
||||
|
||||
QList<double> valuesInFt;
|
||||
const CCoordinateGeodeticList sorted = this->findWithGeodeticMSLHeight().findWithinRange(reference, range).sortedByEuclideanDistanceSquared(reference);
|
||||
|
||||
Reference in New Issue
Block a user