QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
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 
44 class ANALYSIS_EXPORT QgsGeometrySnapperSingleSource
45 {
46  public:
47 
52  static int run( const QgsFeatureSource &source, QgsFeatureSink &sink, double thresh, QgsFeedback *feedback );
53 };
54 
55 #endif // QGSGEOMETRYSNAPPERSINGLESOURCE_H
QgsFeatureSource
An interface for objects which provide features via a getFeatures method.
Definition: qgsfeaturesource.h:37
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:33