27 return mProjectedPosition;
32 return mSourcePosition;
37 if ( mSourcePosition == sourcePosition )
68 if ( sourceCrs == mCoordinateTransform.
sourceCrs() )
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() );
static Q_INVOKABLE QgsCoordinateReferenceSystem fromEpsgId(long epsg)
Creates a CRS from a given EPSG ID.
Contains information about the context in which a coordinate transform is executed.
Point geometry type, with support for z-dimension and m-values.
This class represents a coordinate reference system (CRS).
Custom exception class for Coordinate Reference System related exceptions.