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;
QVector< QgsPoint > QgsPolyline
polyline is represented as a vector of points
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.
A class to represent a vector.