| 
    QGIS API Documentation
    3.26.3-Buenos Aires (65e4edfdad)
    
   | 
 
 
 
 
Go to the documentation of this file.
   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;
 
   70     QString 
description()
 const override { 
return factoryDescription(); }
 
   71     QString 
id()
 const override { 
return factoryId(); }
 
   72     QgsGeometryCheck::Flags 
flags()
 const override {
return factoryFlags(); }
 
   78     static QList<QgsWkbTypes::GeometryType> factoryCompatibleGeometryTypes() 
SIP_SKIP;
 
   80     static QString factoryDescription() 
SIP_SKIP;
 
   88 #endif // QGS_GEOMETRY_SELFINTERSECTION_CHECK_H 
  
virtual void update(const QgsSingleGeometryCheckError *other)
Update this error with the information from other.
 
virtual Q_DECL_DEPRECATED QStringList resolutionMethods() const
Returns a list of descriptions for available resolutions for errors.
 
An error from a QgsSingleGeometryCheck.
 
A self intersection check error.
 
A self intersection check.
 
virtual QList< QgsSingleGeometryCheckError * > processGeometry(const QgsGeometry &geometry) const =0
Check the geometry for errors.
 
Base class for geometry checks for a single geometry without any context of the layer or other layers...
 
This class implements a geometry check.
 
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.
 
QgsGeometrySelfIntersectionCheck(const QgsGeometryCheckContext *context, const QVariantMap &configuration=QVariantMap())
 
QString id() const override
Returns an id for this check.
 
Base configuration for geometry checks.
 
QList< QgsWkbTypes::GeometryType > compatibleGeometryTypes() const override
A list of geometry types for which this check can be performed.
 
const QgsGeometryUtils::SelfIntersection & intersection() const
 
virtual bool isEqual(const QgsSingleGeometryCheckError *other) const
Check if this error is equal to other.
 
QgsGeometryCheck::CheckType checkType() const override
Returns the check type.
 
A geometry is the spatial representation of a feature.
 
QgsGeometrySelfIntersectionCheckError(const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, QgsVertexId vertexId, const QgsGeometryUtils::SelfIntersection &intersection)
 
Represents a vector layer which manages a vector based data sets.
 
CheckType
The type of a check.
 
Utility class for identifying a unique vertex within a geometry.
 
QString description() const override
Returns a human readable description for this check.
 
This represents an error reported by a geometry check.
 
QgsGeometryCheck::Flags flags() const override
Flags for this geometry check.
 
virtual bool handleChanges(const QList< QgsGeometryCheck::Change > &changes)
Apply a list of changes.