mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Constructor for PQ by string (e.g. 100km/h),
motivated by MS review https://dev.vatsim-germany.org/issues/212#note-6 refs #212
This commit is contained in:
@@ -25,6 +25,9 @@ namespace BlackMisc
|
||||
//! Init by double value
|
||||
CAngle(double value, const CAngleUnit &unit): CPhysicalQuantity(value, unit) {}
|
||||
|
||||
//! \copydoc CPhysicalQuantity(const QString &unitString)
|
||||
CAngle(const QString &unitString) : CPhysicalQuantity(unitString) {}
|
||||
|
||||
/*!
|
||||
* \brief Init as sexagesimal degrees, minutes, seconds
|
||||
* The sign of all parameters must be the same, either all positive or all negative.
|
||||
|
||||
Reference in New Issue
Block a user