mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			574 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			574 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 /Out/ );
 | 
						|
 | 
						|
  signals:
 | 
						|
    void errorFound( const QgsGeometry::Error& );
 | 
						|
 | 
						|
  public slots:
 | 
						|
    void addError( const QgsGeometry::Error& );
 | 
						|
};
 |