QGIS API Documentation  3.8.0-Zanzibar (11aff65)
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 53 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 60 of file qgsdatumtransform.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 82 of file qgsdatumtransform.h.

◆ operator==()

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

Definition at line 77 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 75 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 69 of file qgsdatumtransform.h.


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