QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
qgsgeometrytransformer.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsgeometrytransformer.h
3 ----------------------
4 begin : February 2021
5 copyright : (C) 2021 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef QGSGEOMETRYTRANSFORMER_H
19#define QGSGEOMETRYTRANSFORMER_H
20
21#include "qgis_core.h"
22#include "qgis_sip.h"
23
33{
34 public:
35
37
60 virtual bool transformPoint( double &x SIP_INOUT, double &y SIP_INOUT, double &z SIP_INOUT, double &m SIP_INOUT ) = 0;
61
62};
63
64#endif // QGSGEOMETRYTRANSFORMER_H
An abstract base class for classes which transform geometries by transforming input points to output ...
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.
#define SIP_INOUT
Definition qgis_sip.h:71