2017-05-14 09:48:41 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsgeometryvalidator.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
class QgsGeometryValidator : QThread
|
|
|
|
{
|
2017-05-14 09:48:41 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-05-14 09:48:41 +02:00
|
|
|
#include "qgsgeometryvalidator.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-06-07 07:42:08 +10:00
|
|
|
|
2017-11-14 16:07:39 +10:00
|
|
|
QgsGeometryValidator( const QgsGeometry &geoemtry, QVector<QgsGeometry::Error> *errors = 0, QgsGeometry::ValidationMethod method = QgsGeometry::ValidatorQgisInternal );
|
2017-05-14 09:48:41 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsGeometryValidator.
|
2017-05-14 09:48:41 +02:00
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
~QgsGeometryValidator();
|
|
|
|
|
2017-05-14 09:48:41 +02:00
|
|
|
virtual void run();
|
|
|
|
|
2017-06-08 07:28:36 +02:00
|
|
|
void stop();
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2017-11-14 16:07:39 +10:00
|
|
|
static void validateGeometry( const QgsGeometry &geometry, QVector<QgsGeometry::Error> &errors /Out/, QgsGeometry::ValidationMethod method = QgsGeometry::ValidatorQgisInternal );
|
2017-05-14 09:48:41 +02:00
|
|
|
%Docstring
|
|
|
|
Validate geometry and produce a list of geometry errors
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
signals:
|
2017-05-14 09:48:41 +02:00
|
|
|
void errorFound( const QgsGeometry::Error & );
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
public slots:
|
2017-05-14 09:48:41 +02:00
|
|
|
void addError( const QgsGeometry::Error & );
|
|
|
|
|
2017-06-07 07:42:08 +10:00
|
|
|
};
|
2017-05-14 09:48:41 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsgeometryvalidator.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|