refs #552 CCoordinateGeodetic: added methods to get/set n-vector as doubles, to avoid narrowing.

This commit is contained in:
Mathew Sutcliffe
2015-12-12 20:47:53 +00:00
parent 0589198508
commit 81fd3ef1d9
8 changed files with 33 additions and 0 deletions

View File

@@ -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); }