QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsDatumTransform::TransformPair Struct Reference

Contains datum transform information. More...

#include <qgsdatumtransform.h>

Public Member Functions

 TransformPair (int sourceTransformId=-1, int destinationTransformId=-1)
 Constructor for a TransformPair with the specified sourceTransformId and destinationTransformId transforms.
 
bool operator!= (QgsDatumTransform::TransformPair other) const
 
bool operator== (QgsDatumTransform::TransformPair other) const
 

Public Attributes

int destinationTransformId = -1
 ID for the datum transform to use when projecting to the destination CRS.
 
int sourceTransformId = -1
 ID for the datum transform to use when projecting from the source CRS.
 

Detailed Description

Contains datum transform information.

Deprecated:
QGIS 3.40. Not used for builds based on Proj >= 6.0.

Definition at line 50 of file qgsdatumtransform.h.

Constructor & Destructor Documentation

◆ TransformPair()

QgsDatumTransform::TransformPair::TransformPair ( int  sourceTransformId = -1,
int  destinationTransformId = -1 
)
inline

Constructor for a TransformPair with the specified sourceTransformId and destinationTransformId transforms.

Definition at line 57 of file qgsdatumtransform.h.

Member Function Documentation

◆ operator!=()

bool QgsDatumTransform::TransformPair::operator!= ( QgsDatumTransform::TransformPair  other) const
inline

Definition at line 80 of file qgsdatumtransform.h.

◆ operator==()

bool QgsDatumTransform::TransformPair::operator== ( QgsDatumTransform::TransformPair  other) const
inline

Definition at line 75 of file qgsdatumtransform.h.

Member Data Documentation

◆ destinationTransformId

int QgsDatumTransform::TransformPair::destinationTransformId = -1

ID for the datum transform to use when projecting to the destination CRS.

See also
QgsCoordinateTransform::datumTransformCrsInfo()

Definition at line 72 of file qgsdatumtransform.h.

◆ sourceTransformId

int QgsDatumTransform::TransformPair::sourceTransformId = -1

ID for the datum transform to use when projecting from the source CRS.

See also
QgsCoordinateTransform::datumTransformCrsInfo()

Definition at line 66 of file qgsdatumtransform.h.


The documentation for this struct was generated from the following file: