mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Ref T111, lat/lng/angle changes
* get struct CAngle::DegMinSecFractionalSec to obtain parts * round to epsilon utility functions and fix (qint64)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
77546a46b1
commit
e55480737e
@@ -187,8 +187,7 @@ namespace BlackMisc
|
||||
{
|
||||
public:
|
||||
//! Default constructor
|
||||
CCoordinateGeodetic() :
|
||||
CCoordinateGeodetic(0, 0, 0) {}
|
||||
CCoordinateGeodetic() : CCoordinateGeodetic(0, 0, 0) {}
|
||||
|
||||
//! Constructor by normal vector
|
||||
CCoordinateGeodetic(const QVector3D &normal) : m_x(normal.x()), m_y(normal.y()), m_z(normal.z()) {}
|
||||
@@ -202,6 +201,9 @@ namespace BlackMisc
|
||||
//! Constructor by values
|
||||
CCoordinateGeodetic(double latitudeDegrees, double longitudeDegrees, double heightFeet);
|
||||
|
||||
//! Constructor by interface
|
||||
CCoordinateGeodetic(const ICoordinateGeodetic &coordinate);
|
||||
|
||||
//! \copydoc ICoordinateGeodetic::latitude
|
||||
virtual CLatitude latitude() const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user