18 #ifndef QGS_GEOMETRY_SELFCONTACT_CHECK_H 19 #define QGS_GEOMETRY_SELFCONTACT_CHECK_H 35 void fixError(
const QMap<QString, QgsFeaturePool *> &featurePools,
QgsGeometryCheckError *error,
int method,
const QMap<QString, int> &mergeAttributeIndices,
Changes & )
const override;
38 QString
description()
const override {
return factoryDescription(); }
39 static QString
factoryId() {
return QStringLiteral(
"QgsGeometrySelfContactCheck" ); }
40 QString
id()
const override {
return factoryId(); }
47 #endif // QGS_GEOMETRY_SELFCONTACT_CHECK_H
Base configuration for geometry checks.
CheckType
The type of a check.
A geometry is the spatial representation of a feature.
Base class for geometry checks for a single geometry without any context of the layer or other layers...
QMap< QString, QMap< QgsFeatureId, QList< QgsGeometryCheck::Change > > > Changes
A collection of changes.
virtual void fixError(const QMap< QString, QgsFeaturePool *> &featurePools, QgsGeometryCheckError *error, int method, const QMap< QString, int > &mergeAttributeIndices, Changes &changes) const
Fixes the error error with the specified method.
virtual QList< QgsSingleGeometryCheckError * > processGeometry(const QgsGeometry &geometry) const =0
Check the geometry for errors.
virtual QStringList resolutionMethods() const =0
Returns a list of descriptions for available resolutions for errors.
This represents an error reported by a geometry check.
Represents a vector layer which manages a vector based data sets.