|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
An error for a QgsGeometryIsValid check. More...
#include <qgsgeometryisvalidcheck.h>

Public Member Functions | |
| QgsGeometryIsValidCheckError (const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, const QString &errorDescription) | |
| Creates a new is valid check error. | |
| QString | description () const override |
| A human readable description of this error. | |
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. | |
| QgsGeometry | errorLocation () const |
| The exact location of the error. | |
| virtual bool | handleChanges (const QList< QgsGeometryCheck::Change > &changes) |
| Apply a list of changes. | |
| virtual bool | isEqual (const QgsSingleGeometryCheckError *other) const |
| Check if this error is equal to other. | |
| virtual void | update (const QgsSingleGeometryCheckError *other) |
| Update this error with the information from other. | |
| 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 |
An error for a QgsGeometryIsValid check.
The description is delivered by the underlying check engine, either GEOS or QGIS internal.
Definition at line 32 of file qgsgeometryisvalidcheck.h.
| QgsGeometryIsValidCheckError::QgsGeometryIsValidCheckError | ( | const QgsSingleGeometryCheck * | check, |
| const QgsGeometry & | geometry, | ||
| const QgsGeometry & | errorLocation, | ||
| const QString & | errorDescription | ||
| ) |
Creates a new is valid check error.
Definition at line 96 of file qgsgeometryisvalidcheck.cpp.
|
overridevirtual |
A human readable description of this error.
Reimplemented from QgsSingleGeometryCheckError.
Definition at line 102 of file qgsgeometryisvalidcheck.cpp.