16 #ifndef QGSGEOMETRYVALIDATOR_H
17 #define QGSGEOMETRYVALIDATOR_H
35 static void validateGeometry(
QgsGeometry *g, QList<QgsGeometry::Error> &errors );
44 void validatePolyline(
int i,
QgsPolyline polyline,
bool ring =
false );
45 void validatePolygon(
int i,
const QgsPolygon &polygon );
46 void checkRingIntersections(
int p0,
int i0,
const QgsPolyline &ring0,
int p1,
int i1,
const QgsPolyline &ring1 );
53 QList<QgsGeometry::Error> *mErrors;