6 #ifndef SWIFT_MISC_SIMULATION_INTERPOLATION_INTERPOLATORLINEARPBH_H
7 #define SWIFT_MISC_SIMULATION_INTERPOLATION_INTERPOLATORLINEARPBH_H
16 namespace swift::misc::simulation
26 : m_startSituation(start), m_endSituation(
end)
43 void setTimeFraction(
double tf);
49 double timeFraction0to1);
51 double m_simulationTimeFraction = 0.0;
Value object encapsulating information of an aircraft's situation.
Heading as used in aviation, can be true or magnetic heading.
Physical unit angle (radians, degrees)
Simple linear interpolator for pitch, bank, heading and groundspeed from start to end situation.
CInterpolatorLinearPbh(const aviation::CAircraftSituation &start, const aviation::CAircraftSituation &end)
Constructor.
CInterpolatorLinearPbh()=default
Constructor.
const aviation::CAircraftSituation & getStartSituation() const
Getter.
const aviation::CAircraftSituation & getEndSituation() const
Getter.
Base class for Pitch-Bank-Heading interpolators.
T::const_iterator begin(const LockFreeReader< T > &reader)
Non-member begin() and end() for so LockFree containers can be used in ranged for loops.
T::const_iterator end(const LockFreeReader< T > &reader)
Non-member begin() and end() for so LockFree containers can be used in ranged for loops.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.