QGIS API Documentation
3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
src
core
geometry
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
32
class
CORE_EXPORT
QgsAbstractGeometryTransformer
33
{
34
public
:
35
36
virtual
~QgsAbstractGeometryTransformer
() =
default
;
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
QgsAbstractGeometryTransformer
An abstract base class for classes which transform geometries by transforming input points to output ...
Definition
qgsgeometrytransformer.h:33
QgsAbstractGeometryTransformer::~QgsAbstractGeometryTransformer
virtual ~QgsAbstractGeometryTransformer()=default
QgsAbstractGeometryTransformer::transformPoint
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.
qgis_sip.h
SIP_INOUT
#define SIP_INOUT
Definition
qgis_sip.h:71
Generated on Sat Nov 23 2024 09:26:05 for QGIS API Documentation by
1.9.8