Ref T259, Ref T243 set function/ctor for normal vector

This commit is contained in:
Klaus Basan
2018-04-03 02:18:49 +02:00
parent 7d106acdee
commit aea0f307db
2 changed files with 22 additions and 4 deletions

View File

@@ -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()
{