Ref T773, average elevation from cached (on ground) elevations

This commit is contained in:
Klaus Basan
2020-02-18 03:01:23 +01:00
committed by Mat Sutcliffe
parent 33b1e26460
commit 55b28e24a6
2 changed files with 25 additions and 0 deletions

View File

@@ -42,6 +42,14 @@ namespace BlackMisc
//! \threadsafe
Geo::CCoordinateGeodeticList getElevationCoordinatesOnGround() const;
//! Average elevation of "on ground" cached values
//! \threadsafe
Geo::CElevationPlane averageElevationOfOnGroundAircraft(const Aviation::CAircraftSituation &reference, const PhysicalQuantities::CLength &range, int minValues) const;
//! Highest elevation
//! \threadsafe
Aviation::CAltitude highestElevation() const;
//! Find closest elevation (or return NULL)
//! \threadsafe
Geo::CElevationPlane findClosestElevationWithinRange(const Geo::ICoordinateGeodetic &reference, const PhysicalQuantities::CLength &range) const;
@@ -285,6 +293,9 @@ namespace BlackMisc
//! \copydoc ISimulationEnvironmentProvider::findClosestElevationWithinRangeOrRequest
Geo::CElevationPlane findClosestElevationWithinRangeOrRequest(const Geo::ICoordinateGeodetic &reference, const PhysicalQuantities::CLength &range, const Aviation::CCallsign &callsign);
//! \copydoc ISimulationEnvironmentProvider::averageElevationOfOnGroundAircraft
Geo::CElevationPlane averageElevationOfOnGroundAircraft(const Aviation::CAircraftSituation &reference, const PhysicalQuantities::CLength &range, int minValues) const;
//! \copydoc ISimulationEnvironmentProvider::requestElevation
bool requestElevation(const Geo::ICoordinateGeodetic &reference, const Aviation::CCallsign &callsign);