32 return mDestinationCrs;
37 mDestinationCrs = crs;
45 return transform.
transform( mDestinationPoint );
49 QgsDebugError( QStringLiteral(
"Error transforming destination point" ) );
50 return mDestinationPoint;
Represents a coordinate reference system (CRS).
Contains information about the context in which a coordinate transform is executed.
Custom exception class for Coordinate Reference System related exceptions.
QgsGcpPoint(const QgsPointXY &sourcePoint, const QgsPointXY &destinationPoint, const QgsCoordinateReferenceSystem &destinationPointCrs, bool enabled=true)
Constructor for QgsGcpPoint.
QgsPointXY transformedDestinationPoint(const QgsCoordinateReferenceSystem &targetCrs, const QgsCoordinateTransformContext &context) const
Returns the destinationPoint() transformed to the given target CRS.
void setDestinationPointCrs(const QgsCoordinateReferenceSystem &crs)
Sets the crs of the destination point.
QgsCoordinateReferenceSystem destinationPointCrs() const
Returns the CRS of the destination point.
QgsPointXY sourcePoint() const
Returns the source coordinates.
QgsPointXY destinationPoint() const
Returns the destination coordinates.
#define QgsDebugError(str)