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,
110 #endif // QGSALGORITHMDISTANCEWITHIN_H