QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
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
21class QgsFeatureSink;
23class QgsFeedback;
24
44class 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
An interface for objects which accept features via addFeature(s) methods.
An interface for objects which provide features via a getFeatures method.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Definition: qgsfeedback.h:44
Makes sure that any two vertices of the vector layer are at least at distance given by the threshold ...