mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
24 lines
568 B
Plaintext
24 lines
568 B
Plaintext
class QgsGeometryValidator : QThread
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsgeometryvalidator.h>
|
|
%End
|
|
|
|
public:
|
|
//! Constructor
|
|
QgsGeometryValidator( const QgsGeometry *g, QList<QgsGeometry::Error> *errors = 0 );
|
|
~QgsGeometryValidator();
|
|
|
|
void run();
|
|
void stop();
|
|
|
|
/** Validate geometry and produce a list of geometry errors */
|
|
static void validateGeometry( const QgsGeometry *g, QList<QgsGeometry::Error> &errors );
|
|
|
|
signals:
|
|
void errorFound( const QgsGeometry::Error& );
|
|
|
|
public slots:
|
|
void addError( const QgsGeometry::Error& );
|
|
};
|