6 #ifndef SWIFT_MISC_PQ_LENGTH_H
7 #define SWIFT_MISC_PQ_LENGTH_H
14 namespace swift::misc::physical_quantities
29 this->switchUnit(switchUnit);
Physical unit length (length)
CLength(double value, const CLengthUnit &unit)
Init by double value.
CLength(const QString &unitString)
Constructor by parsed string, e.g. 10m.
CLength()
Default constructor.
CLength(double value, const CLengthUnit &unit, const CLengthUnit &switchUnit)
Init by double value and switch unit.
Specialized class for distance units (meter, foot, nautical miles).
A physical quantity such as "5m", "20s", "1500ft/s".
QPair< CLength, CLength > CLengthPair
Pair of length.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.