16 #ifndef QGSGEOMETRYVALIDATOR_H 17 #define QGSGEOMETRYVALIDATOR_H 19 #include "qgis_core.h" 53 void validatePolyline(
int i,
QgsPolylineXY polyline,
bool ring =
false );
54 void validatePolygon(
int i,
const QgsPolygonXY &polygon );
62 QVector<QgsGeometry::Error> *mErrors;
A class to represent a 2D point.
QVector< QgsPolylineXY > QgsPolygonXY
Polygon: first item of the list is outer ring, inner rings (if any) start from second item...
A geometry is the spatial representation of a feature.
Use internal QgsGeometryValidator method.
A class to represent a vector.
QVector< QgsPointXY > QgsPolylineXY
Polyline as represented as a vector of two-dimensional points.
ValidationMethod
Available methods for validating geometries.