QGIS API Documentation 3.41.0-Master (d5b93354e9c)
|
A self intersection check error. More...
#include <qgsgeometryselfintersectioncheck.h>
Public Member Functions | |
QgsGeometrySelfIntersectionCheckError (const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, QgsVertexId vertexId, const QgsGeometryUtils::SelfIntersection &intersection) | |
bool | handleChanges (const QList< QgsGeometryCheck::Change > &changes) override |
Apply a list of changes. | |
const QgsGeometryUtils::SelfIntersection & | intersection () const |
bool | isEqual (const QgsSingleGeometryCheckError *other) const override |
Check if this error is equal to other. | |
void | update (const QgsSingleGeometryCheckError *other) override |
Update this error with the information from other. | |
Public Member Functions inherited from QgsSingleGeometryCheckError | |
QgsSingleGeometryCheckError (const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, const QgsVertexId &vertexId=QgsVertexId()) | |
Creates a new single geometry check error. | |
virtual | ~QgsSingleGeometryCheckError ()=default |
const QgsSingleGeometryCheck * | check () const |
The check that created this error. | |
virtual QString | description () const |
A human readable description of this error. | |
QgsGeometry | errorLocation () const |
The exact location of the error. | |
QgsVertexId | vertexId () const |
The vertex id of the error. | |
Additional Inherited Members | |
Protected Attributes inherited from QgsSingleGeometryCheckError | |
const QgsSingleGeometryCheck * | mCheck = nullptr |
QgsGeometry | mErrorLocation |
QgsGeometry | mGeometry |
QgsVertexId | mVertexId |
A self intersection check error.
Definition at line 28 of file qgsgeometryselfintersectioncheck.h.
|
inline |
Definition at line 31 of file qgsgeometryselfintersectioncheck.h.
|
overridevirtual |
Apply a list of changes.
Reimplemented from QgsSingleGeometryCheckError.
Definition at line 31 of file qgsgeometryselfintersectioncheck.cpp.
|
inline |
Definition at line 36 of file qgsgeometryselfintersectioncheck.h.
|
overridevirtual |
Check if this error is equal to other.
Is reimplemented by subclasses with additional information, comparison of base information is done in parent class.
Reimplemented from QgsSingleGeometryCheckError.
Definition at line 26 of file qgsgeometryselfintersectioncheck.cpp.
|
overridevirtual |
Update this error with the information from other.
Will be used to update existing errors whenever they are re-checked.
Reimplemented from QgsSingleGeometryCheckError.
Definition at line 57 of file qgsgeometryselfintersectioncheck.cpp.