mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
refs #552 CCoordinateGeodetic: added methods to get/set n-vector as doubles, to avoid narrowing.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user