QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
src
analysis
vector
qgsgeometrysnappersinglesource.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsgeometrysnappersinglesource.h
3
---------------------
4
Date : May 2018
5
Copyright : (C) 2018 by Martin Dobias
6
Email : wonder dot sk at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSGEOMETRYSNAPPERSINGLESOURCE_H
17
#define QGSGEOMETRYSNAPPERSINGLESOURCE_H
18
19
#include "qgis_analysis.h"
20
21
class
QgsFeatureSink
;
22
class
QgsFeatureSource
;
23
class
QgsFeedback
;
24
43
class
ANALYSIS_EXPORT
QgsGeometrySnapperSingleSource
44
{
45
public
:
46
51
static
int
run(
const
QgsFeatureSource
&source,
QgsFeatureSink
&sink,
double
thresh,
QgsFeedback
*feedback );
52
};
53
54
#endif // QGSGEOMETRYSNAPPERSINGLESOURCE_H
QgsFeatureSource
An interface for objects which provide features via a getFeatures method.
Definition:
qgsfeaturesource.h:38
QgsFeedback
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Definition:
qgsfeedback.h:44
QgsGeometrySnapperSingleSource
Makes sure that any two vertices of the vector layer are at least at distance given by the threshold ...
Definition:
qgsgeometrysnappersinglesource.h:44
QgsFeatureSink
An interface for objects which accept features via addFeature(s) methods.
Definition:
qgsfeaturesink.h:34
Generated on Sat Oct 24 2020 17:43:09 for QGIS API Documentation by
1.8.20