mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #552 CCoordinateGeodetic: added methods to get/set n-vector as doubles, to avoid narrowing.
This commit is contained in:
@@ -337,6 +337,11 @@ namespace BlackMisc
|
||||
return this->m_position.normalVector();
|
||||
}
|
||||
|
||||
std::array<double, 3> CAtcStation::normalVectorDouble() const
|
||||
{
|
||||
return this->m_position.normalVectorDouble();
|
||||
}
|
||||
|
||||
CVariant CAtcStation::propertyByIndex(const BlackMisc::CPropertyIndex &index) const
|
||||
{
|
||||
if (index.isMyself()) { return CVariant::from(*this); }
|
||||
|
||||
Reference in New Issue
Block a user