18#ifndef QGSGEOMETRYMISSINGVERTEXCHECK_H
19#define QGSGEOMETRYMISSINGVERTEXCHECK_H
52 void setAffectedAreaBBox(
const QgsRectangle &affectedAreaBBox );
62 void setInvolvedFeatures(
const QMap<QString, QgsFeatureIds> &involvedFeatures );
64 QIcon
icon()
const override;
68 QMap<QString, QgsFeatureIds> mInvolvedFeatures;
94 Q_ENUM( ResolutionMethod )
100 void collectErrors(
const QMap<QString, QgsFeaturePool *> &featurePools, QList<QgsGeometryCheckError *> &errors, QStringList &messages,
QgsFeedback *feedback,
const LayerFeatureIds &ids = LayerFeatureIds() )
const override;
101 void fixError(
const QMap<QString, QgsFeaturePool *> &featurePools,
QgsGeometryCheckError *error,
int method,
const QMap<QString, int> &mergeAttributeIndices, Changes &changes )
const override;
102 Q_DECL_DEPRECATED QStringList resolutionMethods()
const override;
105 QString id()
const override;
106 QList<Qgis::GeometryType> compatibleGeometryTypes()
const override;
111 static QList<Qgis::GeometryType> factoryCompatibleGeometryTypes()
SIP_SKIP;
113 static QString factoryDescription()
SIP_SKIP;
114 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.
void CPL_STDCALL collectErrors(CPLErr, int, const char *msg)
Utility class for identifying a unique vertex within a geometry.