6 #ifndef SWIFT_MISC_GEO_LATITUDE_H
7 #define SWIFT_MISC_GEO_LATITUDE_H
12 namespace swift::misc::geo
32 QString toWgs84(
int fractionalDigits = 3)
const
41 if (!this->isZeroEpsilonConsidered()) { s.append(this->isNegativeWithEpsilonConsidered() ?
" S" :
" N"); }
Base class for latitude / longitude.
QString toWgs84(const QChar pos, const QChar neg, int fractionalDigits=3) const
To WGS84 string.
QString convertToQString(bool i18n=false) const
Cast as QString.
CLatitude(double value, const swift::misc::physical_quantities::CAngleUnit &unit)
Init by double value.
CLatitude()=default
Default constructor.
QString convertToQString(bool i18n=false) const
Cast as QString.
CLatitude(const swift::misc::physical_quantities::CAngle &angle)
Constructor.
CRTP class template which will generate marshalling operators for a derived class with its own marsha...
CRTP class template to generate non-member QDataStream streaming operators.
CRTP class template from which a derived class can inherit property indexing functions.
CRTP class template from which a derived class can inherit string streaming operations.
Physical unit angle (radians, degrees)
Specialized class for angles (degrees, radian).
#define SWIFT_MISC_DECLARE_USING_MIXIN_INDEX(DERIVED)
When a derived class and a base class both inherit from mixin::Index, the derived class uses this mac...
#define SWIFT_MISC_DECLARE_USING_MIXIN_STRING(DERIVED)
When a derived class and a base class both inherit from mixin::String, the derived class uses this ma...
#define SWIFT_MISC_EXPORT
Export a class or function from the library.