QGIS API Documentation  3.0.2-Girona (307d082)
Public Slots | Signals | Public Member Functions | Static Public Member Functions | List of all members
QgsGeometryValidator Class Reference

#include <qgsgeometryvalidator.h>

Inheritance diagram for QgsGeometryValidator:
Inheritance graph
[legend]

Public Slots

void addError (const QgsGeometry::Error &)
 

Signals

void errorFound (const QgsGeometry::Error &)
 

Public Member Functions

 QgsGeometryValidator (const QgsGeometry &geoemtry, QVector< QgsGeometry::Error > *errors=nullptr, QgsGeometry::ValidationMethod method=QgsGeometry::ValidatorQgisInternal)
 Constructor for QgsGeometryValidator. More...
 
 ~QgsGeometryValidator () override
 
void run () override
 
void stop ()
 

Static Public Member Functions

static void validateGeometry (const QgsGeometry &geometry, QVector< QgsGeometry::Error > &errors, QgsGeometry::ValidationMethod method=QgsGeometry::ValidatorQgisInternal)
 Validate geometry and produce a list of geometry errors. More...
 

Detailed Description

Definition at line 28 of file qgsgeometryvalidator.h.

Constructor & Destructor Documentation

◆ QgsGeometryValidator()

QgsGeometryValidator::QgsGeometryValidator ( const QgsGeometry geoemtry,
QVector< QgsGeometry::Error > *  errors = nullptr,
QgsGeometry::ValidationMethod  method = QgsGeometry::ValidatorQgisInternal 
)

Constructor for QgsGeometryValidator.

Definition at line 22 of file qgsgeometryvalidator.cpp.

◆ ~QgsGeometryValidator()

QgsGeometryValidator::~QgsGeometryValidator ( )
override

Definition at line 31 of file qgsgeometryvalidator.cpp.

Member Function Documentation

◆ addError

void QgsGeometryValidator::addError ( const QgsGeometry::Error e)
slot

Definition at line 347 of file qgsgeometryvalidator.cpp.

◆ errorFound

void QgsGeometryValidator::errorFound ( const QgsGeometry::Error )
signal

◆ run()

void QgsGeometryValidator::run ( )
override

Definition at line 213 of file qgsgeometryvalidator.cpp.

◆ stop()

void QgsGeometryValidator::stop ( )

Definition at line 37 of file qgsgeometryvalidator.cpp.

◆ validateGeometry()

void QgsGeometryValidator::validateGeometry ( const QgsGeometry geometry,
QVector< QgsGeometry::Error > &  errors,
QgsGeometry::ValidationMethod  method = QgsGeometry::ValidatorQgisInternal 
)
static

Validate geometry and produce a list of geometry errors.

Definition at line 353 of file qgsgeometryvalidator.cpp.


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