QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
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. More...
 
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. More...
 
int sourceTransformId = -1
 ID for the datum transform to use when projecting from the source CRS. More...
 

Detailed Description

Contains datum transform information.

Deprecated:
Not used for builds based on Proj >= 6.0
Since
QGIS 3.0

Definition at line 54 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 61 of file qgsdatumtransform.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 83 of file qgsdatumtransform.h.

◆ operator==()

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

Definition at line 78 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 76 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 70 of file qgsdatumtransform.h.


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