QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
Public Member Functions | List of all members
QgsGeometryIsValidCheckError Class Reference

An error for a QgsGeometryIsValid check. More...

#include <qgsgeometryisvalidcheck.h>

Inheritance diagram for QgsGeometryIsValidCheckError:
Inheritance graph
[legend]

Public Member Functions

 QgsGeometryIsValidCheckError (const QgsSingleGeometryCheck *check, const QgsGeometry &geometry, const QgsGeometry &errorLocation, const QString &errorDescription)
 Creates a new is valid check error. More...
 
QString description () const override
 A human readable description of this error. More...
 
- 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. More...
 
virtual ~QgsSingleGeometryCheckError ()=default
 
const QgsSingleGeometryCheckcheck () const
 The check that created this error. More...
 
QgsGeometry errorLocation () const
 The exact location of the error. More...
 
virtual bool handleChanges (const QList< QgsGeometryCheck::Change > &changes)
 Apply a list of changes. More...
 
virtual bool isEqual (const QgsSingleGeometryCheckError *other) const
 Check if this error is equal to other. More...
 
virtual void update (const QgsSingleGeometryCheckError *other)
 Update this error with the information from other. More...
 
QgsVertexId vertexId () const
 The vertex id of the error. More...
 

Additional Inherited Members

- Protected Attributes inherited from QgsSingleGeometryCheckError
const QgsSingleGeometryCheckmCheck = nullptr
 
QgsGeometry mErrorLocation
 
QgsGeometry mGeometry
 
QgsVertexId mVertexId
 

Detailed Description

An error for a QgsGeometryIsValid check.

The description is delivered by the underlying check engine, either GEOS or QGIS internal.

Since
QGIS 3.4

Definition at line 32 of file qgsgeometryisvalidcheck.h.

Constructor & Destructor Documentation

◆ QgsGeometryIsValidCheckError()

QgsGeometryIsValidCheckError::QgsGeometryIsValidCheckError ( const QgsSingleGeometryCheck check,
const QgsGeometry geometry,
const QgsGeometry errorLocation,
const QString &  errorDescription 
)

Creates a new is valid check error.

Definition at line 97 of file qgsgeometryisvalidcheck.cpp.

Member Function Documentation

◆ description()

QString QgsGeometryIsValidCheckError::description ( ) const
overridevirtual

A human readable description of this error.

Reimplemented from QgsSingleGeometryCheckError.

Definition at line 104 of file qgsgeometryisvalidcheck.cpp.


The documentation for this class was generated from the following files: