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

@@ -186,6 +186,11 @@ namespace BlackMisc
};
}
std::array<double, 3> CCoordinateGeodetic::normalVectorDouble() const
{
return { this->m_x, this->m_y, this->m_z };
}
void CCoordinateGeodetic::setLatitude(const CLatitude &latitude)
{
this->setLatLong(latitude, this->longitude());