16 #ifndef QGSELLIPSOIDUTILS_H 17 #define QGSELLIPSOIDUTILS_H 19 #include "qgis_core.h" 22 #include <QStringList> 45 double semiMajor{ -1.0 };
47 double semiMinor{ -1.0 };
50 bool useCustomParameters{
false };
53 double inverseFlattening{ -1.0 };
84 static QList< QgsEllipsoidUtils::EllipsoidDefinition > definitions();
91 static QStringList acronyms();
96 static QReadWriteLock sEllipsoidCacheLock;
97 static QHash< QString, EllipsoidParameters > sEllipsoidCache;
98 static QReadWriteLock sDefinitionCacheLock;
99 static QList< QgsEllipsoidUtils::EllipsoidDefinition > sDefinitionCache;
103 #endif // QGSELLIPSOIDUTILS_H Contains definition of an ellipsoid.
Contains parameters for an ellipsoid.
QgsCoordinateReferenceSystem crs
Associated coordinate reference system.
QString acronym
Acronym for ellipsoid.
Contains utility functions for working with ellipsoids and querying the ellipsoid database...
This class represents a coordinate reference system (CRS).
QgsEllipsoidUtils::EllipsoidParameters parameters
Ellipsoid parameters.
QString description
Description of ellipsoid.