QGIS API Documentation 3.99.0-Master (752b475928d)
Loading...
Searching...
No Matches
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 51 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 58 of file qgsdatumtransform.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 81 of file qgsdatumtransform.h.

◆ operator==()

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

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


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