QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
22 : mSourcePoint( sourcePoint )
23 , mDestinationPoint( destinationPoint )
24 , mDestinationCrs( destinationPointCrs )
32 return mDestinationCrs;
37 mDestinationCrs =
crs;
45 return transform.
transform( mDestinationPoint );
49 QgsDebugMsg( QStringLiteral(
"Error transforming destination point" ) );
50 return mDestinationPoint;
Contains information about the context in which a coordinate transform is executed.
void setDestinationPointCrs(const QgsCoordinateReferenceSystem &crs)
Sets the crs of the destination point.
const QgsCoordinateReferenceSystem & crs
QgsPointXY transformedDestinationPoint(const QgsCoordinateReferenceSystem &targetCrs, const QgsCoordinateTransformContext &context) const
Returns the destionationPoint() transformed to the given target CRS.
Custom exception class for Coordinate Reference System related exceptions.
This class represents a coordinate reference system (CRS).
A class to represent a 2D point.
QgsCoordinateReferenceSystem destinationPointCrs() const
Returns the CRS of the destination point.
QgsGcpPoint(const QgsPointXY &sourcePoint, const QgsPointXY &destinationPoint, const QgsCoordinateReferenceSystem &destinationPointCrs, bool enabled=true)
Constructor for QgsGcpPoint.