18 #ifndef QGSGEOMETRYMISSINGVERTEXCHECK_H
19 #define QGSGEOMETRYMISSINGVERTEXCHECK_H
48 const QVariant &value = QVariant(),
58 void setAffectedAreaBBox(
const QgsRectangle &affectedAreaBBox );
68 void setInvolvedFeatures(
const QMap<QString, QgsFeatureIds> &involvedFeatures );
70 QIcon
icon()
const override;
74 QMap<QString, QgsFeatureIds> mInvolvedFeatures;
101 Q_ENUM( ResolutionMethod )
107 void collectErrors(
const QMap<QString, QgsFeaturePool *> &featurePools, QList<QgsGeometryCheckError *> &errors, QStringList &messages,
QgsFeedback *feedback,
const LayerFeatureIds &ids = LayerFeatureIds() )
const override;
108 void fixError(
const QMap<QString, QgsFeaturePool *> &featurePools,
QgsGeometryCheckError *error,
int method,
const QMap<QString, int> &mergeAttributeIndices, Changes &changes )
const override;
109 Q_DECL_DEPRECATED QStringList resolutionMethods()
const override;
112 QString id()
const override;
113 QList<QgsWkbTypes::GeometryType> compatibleGeometryTypes()
const override;
114 QgsGeometryCheck::Flags flags()
const override;
118 static QList<QgsWkbTypes::GeometryType> factoryCompatibleGeometryTypes()
SIP_SKIP;
120 static QString factoryDescription()
SIP_SKIP;
121 static QString factoryId()
SIP_SKIP;
Curve polygon geometry type.
A feature pool is based on a vector layer and caches features.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Base configuration for geometry checks.
This represents an error reported by a geometry check.
ValueType
Describes the type of an error value.
virtual QMap< QString, QgsFeatureIds > involvedFeatures() const
Returns a list of involved features.
virtual QString description() const
The error description.
virtual QgsRectangle affectedAreaBBox() const
The bounding box of the affected area of the error.
virtual QIcon icon() const
Returns an icon that should be shown for this kind of error.
This class implements a geometry check.
CheckType
The type of a check.
A layer feature combination to uniquely identify and access a feature in a set of layers.
Contains utilities required for geometry checks.
A geometry check error for a missing vertex.
A topology check for missing vertices.
ResolutionMethod
The available resolutions for missing vertex check.
A class to represent a 2D point.
Point geometry type, with support for z-dimension and m-values.
A rectangle specified with double values.
Represents a vector layer which manages a vector based data sets.
Utility class for identifying a unique vertex within a geometry.