16 #ifndef QGSGEOMETRYVALIDATOR_H 
   17 #define QGSGEOMETRYVALIDATOR_H 
   19 #include "qgis_core.h" 
   70     void validationFinished( 
const QString &summary );
 
   76     void validatePolyline( 
int i, 
const QgsLineString *line, 
bool ring = 
false );
 
   78     void checkRingIntersections( 
int partIndex0, 
int ringIndex0, 
const QgsCurve *ring0, 
int partIndex1, 
int ringIndex1, 
const QgsCurve *ring1 );
 
   79     double distLine2Point( 
double px, 
double py, 
QgsVector v, 
double qX, 
double qY );
 
   80     bool intersectLines( 
double px, 
double py, 
QgsVector v, 
double qx, 
double qy, 
QgsVector w, 
double &sX, 
double &sY );
 
   82     bool pointInRing( 
const QgsCurve *ring, 
double pX, 
double pY );
 
   85     QVector<QgsGeometry::Error> *mErrors;