mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refactor: Split position/altitude and groundfactor interpolation
This commit is contained in:
@@ -65,9 +65,11 @@ namespace BlackMisc::Simulation
|
||||
|
||||
//! Perform the interpolation
|
||||
//! \param situation situation used as a base for interpolation. Contains for example the already interpolated PBH.
|
||||
//! \param interpolateGndFactor whether to interpolate the GND factor.
|
||||
//! \return \p situation with interpolated position and altitude, updated timestamp and possibly interpolated GND factor
|
||||
Aviation::CAircraftSituation interpolatePositionAndAltitude(const Aviation::CAircraftSituation ¤tSituation, bool interpolateGndFactor) const;
|
||||
//! \return \p situation with interpolated position and altitude and updated timestamp
|
||||
Aviation::CAircraftSituation interpolatePositionAndAltitude(const Aviation::CAircraftSituation ¤tSituation) const;
|
||||
|
||||
//! Interpolate the ground information/factor
|
||||
Aviation::COnGroundInfo interpolateGroundFactor() const;
|
||||
|
||||
//! Set the time values
|
||||
void setTimes(qint64 currentTimeMs, double timeFraction, qint64 interpolatedTimeMs);
|
||||
|
||||
Reference in New Issue
Block a user