16#ifndef QGSGEOMETRYVALIDATOR_H
17#define QGSGEOMETRYVALIDATOR_H
76 void validatePolyline(
int i,
const QgsLineString *line,
bool ring =
false );
78 void checkRingIntersections(
int partIndex0,
int ringIndex0,
const QgsCurve *ring0,
int partIndex1,
int ringIndex1,
const QgsCurve *ring1 );
79 double distLine2Point(
double px,
double py,
QgsVector v,
double qX,
double qY );
80 bool intersectLines(
double px,
double py,
QgsVector v,
double qx,
double qy,
QgsVector w,
double &sX,
double &sY );
82 bool pointInRing(
const QgsCurve *ring,
double pX,
double pY );
85 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.
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.
A class to represent a vector.