16#ifndef QGSGEOMETRYVALIDATOR_H
17#define QGSGEOMETRYVALIDATOR_H
77 void validatePolyline(
int i,
const QgsLineString *line,
bool ring =
false );
79 void checkRingIntersections(
int partIndex0,
int ringIndex0,
const QgsCurve *ring0,
int partIndex1,
int ringIndex1,
const QgsCurve *ring1 );
80 double distLine2Point(
double px,
double py,
QgsVector v,
double qX,
double qY );
81 bool intersectLines(
double px,
double py,
QgsVector v,
double qx,
double qy,
QgsVector w,
double &sX,
double &sY );
83 bool pointInRing(
const QgsCurve *ring,
double pX,
double pY );
86 QVector<QgsGeometry::Error> *mErrors;
GeometryValidationEngine
Available engines for validating geometries.
@ QgisInternal
Use internal QgsGeometryValidator method.
Curve polygon geometry type.
Abstract base class for curved geometry type.
Validates geometries using the QGIS geometry validation model.
void validationFinished(const QString &summary)
Sent when the validation is finished.
void errorFound(const QgsGeometry::Error &error)
Sent when an error has been found during the validation process.
A geometry is the spatial representation of a feature.
Line string geometry type, with support for z-dimension and m-values.
Represent a 2-dimensional vector.