QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
An abstract base class for classes which transform geometries by transforming input points to output points. More...
#include <qgsgeometrytransformer.h>
Public Member Functions | |
virtual | ~QgsAbstractGeometryTransformer ()=default |
virtual bool | transformPoint (double &x, double &y, double &z, double &m)=0 |
Transforms the point defined by the coordinates (x, y, z) and the specified m value. | |
An abstract base class for classes which transform geometries by transforming input points to output points.
Definition at line 32 of file qgsgeometrytransformer.h.
|
virtualdefault |
|
pure virtual |
Transforms the point defined by the coordinates (x, y, z) and the specified m value.
x | point x coordinate |
y | point y coordinate |
z | point z coordinate, or NaN if the input point is 2D only |
m | point m value, or NaN if not available |
true
if point was transformed (or no transformation was required), or false
if point could not be transformed successfully.A transformer which multiples the x coordinate by 3 and adds 10 to the y coordinate:
Implemented in QgsGcpGeometryTransformer.