16 #ifndef QGSGEOMETRYVALIDATOR_H
17 #define QGSGEOMETRYVALIDATOR_H
37 static void validateGeometry(
QgsGeometry *g, QList<QgsGeometry::Error> &errors );
46 void validatePolyline(
int i,
QgsPolyline polyline,
bool ring =
false );
47 void validatePolygon(
int i,
const QgsPolygon &polygon );
48 void checkRingIntersections(
int p0,
int i0,
const QgsPolyline &ring0,
int p1,
int i1,
const QgsPolyline &ring1 );
QVector< QgsPoint > QgsPolyline
polyline is represented as a vector of points
QList< QgsGeometry::Error > * mErrors
QVector< QgsPolyline > QgsPolygon
polygon: first item of the list is outer ring, inner rings (if any) start from second item ...
A class to represent a point geometry.
A class to represent a vector.