16 #ifndef QGSGEOMETRYEDITUTILS_H 17 #define QGSGEOMETRYEDITUTILS_H 77 const QList<QgsVectorLayer *> &avoidIntersectionsLayers,
81 #endif // QGSGEOMETRYEDITUTILS_H OperationResult
Success or failure of a geometry operation.
static bool deleteRing(QgsAbstractGeometry *geom, int ringNum, int partNum=0)
Deletes a ring from a geometry.
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 curved geometry type.
Abstract base class for all geometries.
static QgsGeometry::OperationResult addPart(QgsAbstractGeometry *geometry, std::unique_ptr< QgsAbstractGeometry > part)
Add a part to multi type geometry.
Contains geometry relation and modification algorithms.
static bool deletePart(QgsAbstractGeometry *geom, int partNum)
Deletes a part from a geometry.
Represents a vector layer which manages a vector based data sets.
Convenience functions for geometry editing.
static QgsGeometry::OperationResult addRing(QgsAbstractGeometry *geometry, std::unique_ptr< QgsCurve > ring)
Add an interior ring to a geometry.