mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 14:15:35 +08:00
refs #865, adjusted interpolator to use elevation or elevation provider
* adjusted IInterpolator::setGroundElevationFromHint * removed cgAboveGround from getCorrectedAltitude
This commit is contained in:
committed by
Mathew Sutcliffe
parent
38585d10b2
commit
daab5eed49
@@ -132,8 +132,8 @@ namespace BlackMisc
|
||||
//! Get altitude
|
||||
const BlackMisc::Aviation::CAltitude &getAltitude() const { return this->m_position.geodeticHeight(); }
|
||||
|
||||
//! Get altitude under consideration of ground elevation and CG (if available)
|
||||
BlackMisc::Aviation::CAltitude getCorrectedAltitude(const PhysicalQuantities::CLength &cgAboveGround = { 0, nullptr }) const;
|
||||
//! Get altitude under consideration of ground elevation
|
||||
BlackMisc::Aviation::CAltitude getCorrectedAltitude() const;
|
||||
|
||||
//! Set altitude
|
||||
void setAltitude(const BlackMisc::Aviation::CAltitude &altitude) { this->m_position.setGeodeticHeight(altitude); }
|
||||
|
||||
Reference in New Issue
Block a user