mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 10:15:43 +08:00
Ref T259, Ref T243 set function/ctor for normal vector
This commit is contained in:
@@ -205,6 +205,9 @@ namespace BlackMisc
|
||||
//! Constructor by normal vector
|
||||
CCoordinateGeodetic(const QVector3D &normal) : m_x(normal.x()), m_y(normal.y()), m_z(normal.z()) {}
|
||||
|
||||
//! Constructor by normal vector
|
||||
CCoordinateGeodetic(const std::array<double, 3> &normalVector);
|
||||
|
||||
//! Constructor by values
|
||||
CCoordinateGeodetic(const CLatitude &latitude, const CLongitude &longitude, const Aviation::CAltitude &geodeticHeight);
|
||||
|
||||
@@ -262,6 +265,9 @@ namespace BlackMisc
|
||||
//! Set normal vector
|
||||
void setNormalVector(double x, double y, double z) { m_x = x; m_y = y; m_z = z; }
|
||||
|
||||
//! Set normal vector
|
||||
void setNormalVector(const std::array<double, 3> &normalVector);
|
||||
|
||||
//! Set to null
|
||||
void setNull()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user