18 #ifndef QGS_GEOMETRY_DEGENERATEPOLYGON_CHECK_H
19 #define QGS_GEOMETRY_DEGENERATEPOLYGON_CHECK_H
34 void collectErrors(
const QMap<QString, QgsFeaturePool *> &featurePools, QList<QgsGeometryCheckError *> &errors, QStringList &messages,
QgsFeedback *feedback,
const LayerFeatureIds &ids = LayerFeatureIds() )
const override;
35 void fixError(
const QMap<QString, QgsFeaturePool *> &featurePools,
QgsGeometryCheckError *error,
int method,
const QMap<QString, int> &mergeAttributeIndices, Changes &changes )
const override;
39 QString
description()
const override {
return factoryDescription(); }
40 QString
id()
const override {
return factoryId(); }
46 static QString
factoryId() {
return QStringLiteral(
"QgsGeometryDegeneratePolygonCheck" ); }
52 #endif // QGS_GEOMETRY_DEGENERATEPOLYGON_CHECK_H