18#ifndef QGS_GEOMETRY_SELFINTERSECTION_CHECK_H 
   19#define QGS_GEOMETRY_SELFINTERSECTION_CHECK_H 
   37      , mIntersection( intersection )
 
   42    bool handleChanges( 
const QList<QgsGeometryCheck::Change> &changes ) 
override;
 
   68    void fixError( 
const QMap<QString, QgsFeaturePool *> &featurePools, 
QgsGeometryCheckError *error, 
int method, 
const QMap<QString, int> &mergeAttributeIndices, Changes &changes ) 
const override;
 
   69    Q_DECL_DEPRECATED QStringList resolutionMethods() 
const override;
 
   70    QString 
description()
 const override { 
return factoryDescription(); }
 
   71    QString 
id()
 const override { 
return factoryId(); }
 
   72    QgsGeometryCheck::Flags 
flags()
 const override {
return factoryFlags(); }
 
   75    QList<QgsSingleGeometryCheckError *> processGeometry( 
const QgsGeometry &geometry ) 
const override;
 
   78    static QList<Qgis::GeometryType> factoryCompatibleGeometryTypes() 
SIP_SKIP;
 
   80    static QString factoryDescription() 
SIP_SKIP;
 
Base configuration for geometry checks.
 
This represents an error reported by a geometry check.
 
This class implements a geometry check.
 
CheckType
The type of a check.
 
A self intersection check error.
 
const QgsGeometryUtils::SelfIntersection & intersection() const
 
QgsGeometrySelfIntersectionCheckError(const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, QgsVertexId vertexId, const QgsGeometryUtils::SelfIntersection &intersection)
 
A self intersection check.
 
QgsGeometryCheck::Flags flags() const override
Flags for this geometry check.
 
QString description() const override
Returns a human readable description for this check.
 
QgsGeometryCheck::CheckType checkType() const override
Returns the check type.
 
QList< Qgis::GeometryType > compatibleGeometryTypes() const override
A list of geometry types for which this check can be performed.
 
QString id() const override
Returns an id for this check.
 
QgsGeometrySelfIntersectionCheck(const QgsGeometryCheckContext *context, const QVariantMap &configuration=QVariantMap())
 
A geometry is the spatial representation of a feature.
 
An error from a QgsSingleGeometryCheck.
 
virtual bool isEqual(const QgsSingleGeometryCheckError *other) const
Check if this error is equal to other.
 
virtual bool handleChanges(const QList< QgsGeometryCheck::Change > &changes)
Apply a list of changes.
 
virtual void update(const QgsSingleGeometryCheckError *other)
Update this error with the information from other.
 
Base class for geometry checks for a single geometry without any context of the layer or other layers...
 
Represents a vector layer which manages a vector based data sets.
 
Utility class for identifying a unique vertex within a geometry.