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

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

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

Public Member Functions

 CInterpolant ()
 Default.
 
 CInterpolant (const PosArray &pa, const physical_quantities::CLengthUnit &altitudeUnit, const CInterpolatorLinearPbh &pbh)
 Constructor.
 
std::tuple< geo::CCoordinateGeodetic, aviation::CAltitudeinterpolatePositionAndAltitude () const
 Perform the interpolation. More...
 
aviation::COnGroundInfo interpolateGroundFactor () const
 Interpolate the ground information/factor. More...
 
void setTimes (qint64 currentTimeMs, double timeFraction, qint64 interpolatedTimeMs)
 Set the time values.
 
const IInterpolatorPbhpbh () const
 Get the PBH interpolator. More...
 
- 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

Cubic function that performs the actual interpolation.

Definition at line 59 of file interpolatorspline.h.

Member Function Documentation

◆ interpolateGroundFactor()

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

Interpolate the ground information/factor.

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

Definition at line 368 of file interpolatorspline.cpp.

◆ interpolatePositionAndAltitude()

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

Perform the interpolation.

Returns
interpolated position and altitude

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

Definition at line 316 of file interpolatorspline.cpp.

◆ pbh()

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

Get the PBH interpolator.

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

Definition at line 82 of file interpolatorspline.h.


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