swift
Public Member Functions | List of all members
swift::misc::simulation::CInterpolatorLinear::CInterpolant Class Reference

Linear function that performs the actual interpolation. More...

Inheritance diagram for swift::misc::simulation::CInterpolatorLinear::CInterpolant:
[legend]

Public Member Functions

std::tuple< geo::CCoordinateGeodetic, aviation::CAltitudeinterpolatePositionAndAltitude () const
 Perform the interpolation. More...
 
aviation::COnGroundInfo interpolateGroundFactor () const
 Interpolate the ground information/factor. More...
 
const aviation::CAircraftSituationgetStartSituation () const
 Start situation.
 
const aviation::CAircraftSituationgetEndSituation () const
 End situation.
 
const IInterpolatorPbhpbh () const
 Get the PBH interpolator. More...
 
 CInterpolant ()=default
 Constructor.
 
 CInterpolant (const aviation::CAircraftSituation &startSituation)
 Constructor.
 
 CInterpolant (const aviation::CAircraftSituation &startSituation, const CInterpolatorLinearPbh &pbh)
 Constructor.
 
 CInterpolant (const aviation::CAircraftSituation &startSituation, const aviation::CAircraftSituation &endSituation, double timeFraction, qint64 interpolatedTime)
 Constructor.
 
- Public Member Functions inherited from swift::misc::simulation::IInterpolant
 IInterpolant ()=default
 Default ctor.
 
 IInterpolant (qint64 interpolatedTime)
 Constructor.
 
qint64 getInterpolatedTime () const
 "Real time" representing the interpolated situation
 
bool isValid () const
 Valid?
 
void setValid (bool valid)
 Valid?
 
bool isRecalculated () const
 Is recalculated interpolant?
 
void setRecalculated (bool reCalculated)
 Set recalculated interpolant.
 

Additional Inherited Members

- Protected Attributes inherited from swift::misc::simulation::IInterpolant
qint64 m_interpolatedTime = -1
 "Real time "of interpolated situation
 
bool m_valid = true
 valid?
 
bool m_recalculated = false
 recalculated interpolant
 

Detailed Description

Linear function that performs the actual interpolation.

Definition at line 41 of file interpolatorlinear.h.

Member Function Documentation

◆ interpolateGroundFactor()

aviation::COnGroundInfo swift::misc::simulation::CInterpolatorLinear::CInterpolant::interpolateGroundFactor ( ) const
virtual

Interpolate the ground information/factor.

Implements swift::misc::simulation::IInterpolant.

Definition at line 89 of file interpolatorlinear.cpp.

◆ interpolatePositionAndAltitude()

std::tuple< geo::CCoordinateGeodetic, aviation::CAltitude > swift::misc::simulation::CInterpolatorLinear::CInterpolant::interpolatePositionAndAltitude ( ) const
virtual

Perform the interpolation.

Returns
interpolated position and altitude

Implements swift::misc::simulation::IInterpolant.

Definition at line 53 of file interpolatorlinear.cpp.

◆ pbh()

const IInterpolatorPbh& swift::misc::simulation::CInterpolatorLinear::CInterpolant::pbh ( ) const
inlinevirtual

Get the PBH interpolator.

Implements swift::misc::simulation::IInterpolant.

Definition at line 68 of file interpolatorlinear.h.


The documentation for this class was generated from the following files: