QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSGEOMETRYVALIDATOR_H
17 #define QGSGEOMETRYVALIDATOR_H
19 #include "qgis_core.h"
73 void validatePolyline(
int i,
const QgsLineString *line,
bool ring =
false );
74 void validatePolygon(
int i,
const QgsPolygon *polygon );
76 double distLine2Point(
double px,
double py,
QgsVector v,
double qX,
double qY );
77 bool intersectLines(
double px,
double py,
QgsVector v,
double qx,
double qy,
QgsVector w,
double &sX,
double &sY );
79 bool pointInRing(
const QgsLineString *ring,
double pX,
double pY );
82 QVector<QgsGeometry::Error> *mErrors;
void validationFinished(const QString &summary)
Sent when the validation is finished.
Line string geometry type, with support for z-dimension and m-values.
@ ValidatorQgisInternal
Use internal QgsGeometryValidator method.
A geometry is the spatial representation of a feature.
A class to represent a vector.
ValidationMethod
Available methods for validating geometries.
void errorFound(const QgsGeometry::Error &error)
Sent when an error has been found during the validation process.