18 #ifndef QGSALGORITHMDISTANCEWITHIN_H
19 #define QGSALGORITHMDISTANCEWITHIN_H
38 void addDistanceParameter();
41 double distance,
const QgsProperty &distanceProperty,
48 double distance,
const QgsProperty &distanceProperty,
49 const std::function<
void(
const QgsFeature & )> &handleFeatureFunction,
bool onlyRequireTargetIds,
60 class QgsSelectWithinDistanceAlgorithm :
public QgsDistanceWithinAlgorithm
65 QgsSelectWithinDistanceAlgorithm() =
default;
66 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
67 QString name()
const override;
68 Flags flags()
const override;
69 QString displayName()
const override;
70 QStringList tags()
const override;
71 QString group()
const override;
72 QString groupId()
const override;
73 QString shortHelpString()
const override;
74 QgsSelectWithinDistanceAlgorithm *createInstance() const override
SIP_FACTORY;
78 QVariantMap processAlgorithm( const QVariantMap ¶meters,
86 class QgsExtractWithinDistanceAlgorithm : public QgsDistanceWithinAlgorithm
91 QgsExtractWithinDistanceAlgorithm() =
default;
92 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
93 QString name()
const override;
94 QString displayName()
const override;
95 QStringList tags()
const override;
96 QString group()
const override;
97 QString groupId()
const override;
98 QString shortHelpString()
const override;
99 QgsExtractWithinDistanceAlgorithm *createInstance() const override
SIP_FACTORY;
103 QVariantMap processAlgorithm( const QVariantMap ¶meters,
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.