QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
27 return mProjectedPosition;
32 return mSourcePosition;
85 return mCoordinateTransform.
context();
88 void QgsQuickCoordinateTransformer::updatePosition()
90 double x = mSourcePosition.
x();
91 double y = mSourcePosition.
y();
92 double z = mSourcePosition.
z();
97 if ( std::isnan( z ) )
111 mProjectedPosition =
QgsPoint( x, y );
112 mProjectedPosition.
addZValue( mSourcePosition.
z() );
Contains information about the context in which a coordinate transform is executed.
Point geometry type, with support for z-dimension and m-values.
bool addZValue(double zValue=0) override
Adds a z-dimension to the geometry, initialized to a preset value.
Custom exception class for Coordinate Reference System related exceptions.
This class represents a coordinate reference system (CRS).
static Q_INVOKABLE QgsCoordinateReferenceSystem fromEpsgId(long epsg)
Creates a CRS from a given EPSG ID.