QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSGEOMETRYEDITUTILS_H
17 #define QGSGEOMETRYEDITUTILS_H
77 const QList<QgsVectorLayer *> &avoidIntersectionsLayers,
81 #endif // QGSGEOMETRYEDITUTILS_H
Abstract base class for curved geometry type.
static QgsGeometry::OperationResult addRing(QgsAbstractGeometry *geometry, std::unique_ptr< QgsCurve > ring)
Add an interior ring to a geometry.
OperationResult
Success or failure of a geometry operation.
static bool deleteRing(QgsAbstractGeometry *geom, int ringNum, int partNum=0)
Deletes a ring from a geometry.
Convenience functions for geometry editing.
static std::unique_ptr< QgsAbstractGeometry > avoidIntersections(const QgsAbstractGeometry &geom, const QList< QgsVectorLayer * > &avoidIntersectionsLayers, const QHash< QgsVectorLayer *, QSet< QgsFeatureId > > &ignoreFeatures=(QHash< QgsVectorLayer *, QSet< QgsFeatureId > >()))
Alters a geometry so that it avoids intersections with features from all open vector layers.
Abstract base class for all geometries.
static bool deletePart(QgsAbstractGeometry *geom, int partNum)
Deletes a part from a geometry.
Represents a vector layer which manages a vector based data sets.
static QgsGeometry::OperationResult addPart(QgsAbstractGeometry *geometry, std::unique_ptr< QgsAbstractGeometry > part)
Add a part to multi type geometry.
Contains geometry relation and modification algorithms.