18#ifndef QGSALGORITHMDISTANCEWITHIN_H
19#define QGSALGORITHMDISTANCEWITHIN_H
36 void addDistanceParameter();
48class QgsSelectWithinDistanceAlgorithm :
public QgsDistanceWithinAlgorithm
51 QgsSelectWithinDistanceAlgorithm() =
default;
52 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
54 QString svgIconPath()
const override {
return QgsApplication::iconPath( QStringLiteral(
"/algorithms/mAlgorithmSelectDistance.svg" ) ); }
55 QString name()
const override;
57 QString displayName()
const override;
58 QStringList tags()
const override;
59 QString group()
const override;
60 QString groupId()
const override;
61 QString shortHelpString()
const override;
62 QgsSelectWithinDistanceAlgorithm *createInstance() const override
SIP_FACTORY;
71class QgsExtractWithinDistanceAlgorithm : public QgsDistanceWithinAlgorithm
74 QgsExtractWithinDistanceAlgorithm() =
default;
75 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
76 QString name()
const override;
77 QString displayName()
const override;
78 QStringList tags()
const override;
79 QString group()
const override;
80 QString groupId()
const override;
81 QString shortHelpString()
const override;
82 QgsExtractWithinDistanceAlgorithm *createInstance() const override
SIP_FACTORY;
QFlags< ProcessingAlgorithmFlag > ProcessingAlgorithmFlags
Flags indicating how and when an algorithm operates and should be exposed to users.
static QIcon getThemeIcon(const QString &name, const QColor &fillColor=QColor(), const QColor &strokeColor=QColor())
Helper to get a theme icon.
static QString iconPath(const QString &iconFile)
Returns path to the desired icon file.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
An interface for objects which provide features via a getFeatures method.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Abstract base class for processing algorithms.
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.
A store for object properties.