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();
103 static void invalidateCache(
bool disableCache =
false );
109 static QReadWriteLock sEllipsoidCacheLock;
110 static QHash< QString, EllipsoidParameters > sEllipsoidCache;
111 static QReadWriteLock sDefinitionCacheLock;
112 static QList< QgsEllipsoidUtils::EllipsoidDefinition > sDefinitionCache;
116 #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.