QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
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() );
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.
static Q_INVOKABLE QgsCoordinateReferenceSystem fromEpsgId(long epsg)
Creates a CRS from a given EPSG ID.