QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Classes | Static Public Member Functions | List of all members
QgsEllipsoidUtils Class Reference

Contains utility functions for working with ellipsoids and querying the ellipsoid database. More...

#include <qgsellipsoidutils.h>

Classes

struct  EllipsoidDefinition
 Contains definition of an ellipsoid. More...
 
struct  EllipsoidParameters
 Contains parameters for an ellipsoid. More...
 

Static Public Member Functions

static QStringList acronyms ()
 Returns a list of all known ellipsoid acronyms from the internal ellipsoid database. More...
 
static QList< QgsEllipsoidUtils::EllipsoidDefinitiondefinitions ()
 Returns a list of the definitions for all known ellipsoids from the internal ellipsoid database. More...
 
static EllipsoidParameters ellipsoidParameters (const QString &ellipsoid)
 Returns the parameters for the specified ellipsoid. More...
 
static void invalidateCache (bool disableCache=false)
 Clears the internal cache used. More...
 

Detailed Description

Contains utility functions for working with ellipsoids and querying the ellipsoid database.

Since
QGIS 3.0

Definition at line 31 of file qgsellipsoidutils.h.

Member Function Documentation

◆ acronyms()

QStringList QgsEllipsoidUtils::acronyms ( )
static

Returns a list of all known ellipsoid acronyms from the internal ellipsoid database.

See also
definitions()

Definition at line 487 of file qgsellipsoidutils.cpp.

◆ definitions()

QList< QgsEllipsoidUtils::EllipsoidDefinition > QgsEllipsoidUtils::definitions ( )
static

Returns a list of the definitions for all known ellipsoids from the internal ellipsoid database.

See also
acronyms()

Definition at line 366 of file qgsellipsoidutils.cpp.

◆ ellipsoidParameters()

QgsEllipsoidUtils::EllipsoidParameters QgsEllipsoidUtils::ellipsoidParameters ( const QString &  ellipsoid)
static

Returns the parameters for the specified ellipsoid.

Results are cached to allow for fast retrieval of parameters.

Definition at line 41 of file qgsellipsoidutils.cpp.

◆ invalidateCache()

void QgsEllipsoidUtils::invalidateCache ( bool  disableCache = false)
static

Clears the internal cache used.

If disableCache is true then the inbuilt cache will be completely disabled. This argument is for internal use only.

Since
QGIS 3.10

Definition at line 499 of file qgsellipsoidutils.cpp.


The documentation for this class was generated from the following files: