18 #ifndef QGS_GEOMETRY_SEGMENTLENGTH_CHECK_H
19 #define QGS_GEOMETRY_SEGMENTLENGTH_CHECK_H
31 , mMinLengthMapUnits( configuration.value(
"minSegmentLength" ).toDouble() )
36 void collectErrors(
const QMap<QString, QgsFeaturePool *> &featurePools, QList<QgsGeometryCheckError *> &errors, QStringList &messages,
QgsFeedback *feedback,
const LayerFeatureIds &ids = LayerFeatureIds() )
const override;
37 void fixError(
const QMap<QString, QgsFeaturePool *> &featurePools,
QgsGeometryCheckError *error,
int method,
const QMap<QString, int> &mergeAttributeIndices, Changes &changes )
const override;
40 QString
description()
const override {
return factoryDescription(); }
41 static QString
factoryId() {
return QStringLiteral(
"QgsGeometrySegmentLengthCheck" ); }
42 QString
id()
const override {
return factoryId(); }
49 double mMinLengthMapUnits;
52 #endif // QGS_GEOMETRY_SEGMENTLENGTH_CHECK_H