mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 17:30:12 +08:00
refactor: Add comment for interpolatePositionAndAltitude()
This commit is contained in:
@@ -48,6 +48,9 @@ namespace BlackMisc
|
|||||||
//! @}
|
//! @}
|
||||||
|
|
||||||
//! Perform the interpolation
|
//! 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 &situation, bool interpolateGndFactor) const;
|
Aviation::CAircraftSituation interpolatePositionAndAltitude(const Aviation::CAircraftSituation &situation, bool interpolateGndFactor) const;
|
||||||
|
|
||||||
//! Old situation
|
//! Old situation
|
||||||
|
|||||||
@@ -66,6 +66,9 @@ namespace BlackMisc::Simulation
|
|||||||
CInterpolant(const PosArray &pa, const PhysicalQuantities::CLengthUnit &altitudeUnit, const CInterpolatorPbh &pbh);
|
CInterpolant(const PosArray &pa, const PhysicalQuantities::CLengthUnit &altitudeUnit, const CInterpolatorPbh &pbh);
|
||||||
|
|
||||||
//! Perform the interpolation
|
//! 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;
|
Aviation::CAircraftSituation interpolatePositionAndAltitude(const Aviation::CAircraftSituation ¤tSituation, bool interpolateGndFactor) const;
|
||||||
|
|
||||||
//! Set the time values
|
//! Set the time values
|
||||||
|
|||||||
Reference in New Issue
Block a user