QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
Contains utilities required for geometry checks. More...
#include <qgsgeometrycheckerutils.h>
Classes | |
class | LayerFeature |
A layer feature combination to uniquely identify and access a feature in a set of layers. More... | |
class | LayerFeatures |
Contains a set of layers and feature ids in those layers to pass to a geometry check. More... | |
Static Public Member Functions | |
static bool | canDeleteVertex (const QgsAbstractGeometry *geom, int iPart, int iRing) |
static std::unique_ptr< QgsGeometryEngine > | createGeomEngine (const QgsAbstractGeometry *geometry, double tolerance) |
static void | filter1DTypes (QgsAbstractGeometry *geom) |
static const QgsAbstractGeometry * | getGeomPart (const QgsAbstractGeometry *geom, int partIdx) |
static QgsAbstractGeometry * | getGeomPart (QgsAbstractGeometry *geom, int partIdx) |
static QList< QgsPoint > | lineIntersections (const QgsLineString *line1, const QgsLineString *line2, double tol) |
static bool | pointOnLine (const QgsPoint &p, const QgsLineString *line, double tol, bool excludeExtremities=false) |
static QList< const QgsLineString * > | polygonRings (const QgsPolygon *polygon) |
static int | polyLineSize (const QgsAbstractGeometry *geom, int iPart, int iRing, bool *isClosed=nullptr) |
Returns the number of points in a polyline, accounting for duplicate start and end point if the polyline is closed. | |
static double | sharedEdgeLength (const QgsAbstractGeometry *geom1, const QgsAbstractGeometry *geom2, double tol) |
Contains utilities required for geometry checks.
Definition at line 39 of file qgsgeometrycheckerutils.h.
|
inlinestatic |
Definition at line 256 of file qgsgeometrycheckerutils.h.
|
static |
Definition at line 268 of file qgsgeometrycheckerutils.cpp.
|
static |
Definition at line 308 of file qgsgeometrycheckerutils.cpp.
|
static |
Definition at line 282 of file qgsgeometrycheckerutils.cpp.
|
static |
Definition at line 273 of file qgsgeometrycheckerutils.cpp.
|
static |
Definition at line 346 of file qgsgeometrycheckerutils.cpp.
|
static |
Definition at line 330 of file qgsgeometrycheckerutils.cpp.
|
static |
Definition at line 291 of file qgsgeometrycheckerutils.cpp.
|
inlinestatic |
Returns the number of points in a polyline, accounting for duplicate start and end point if the polyline is closed.
Definition at line 230 of file qgsgeometrycheckerutils.h.
|
static |
Definition at line 368 of file qgsgeometrycheckerutils.cpp.