16#ifndef QGSOVERLAYUTILS_H
17#define QGSOVERLAYUTILS_H
34namespace QgsOverlayUtils
53 DontPromotePointGeometryToMultiPoint = 1 << 0,
61 Q_DECLARE_FLAGS( SanitizeFlags, SanitizeFlag )
64 void difference(
const QgsFeatureSource &sourceA,
const QgsFeatureSource &sourceB, QgsFeatureSink &sink, QgsProcessingContext &context, QgsProcessingFeedback *feedback,
long &count,
long totalCount, DifferenceOutput outputAttrs,
const QgsGeometryParameters ¶meters = QgsGeometryParameters(), SanitizeFlags flags = SanitizeFlags() );
66 void intersection(
const QgsFeatureSource &sourceA,
const QgsFeatureSource &sourceB, QgsFeatureSink &sink, QgsProcessingContext &context, QgsProcessingFeedback *feedback,
long &count,
long totalCount,
const QList<int> &fieldIndicesA,
const QList<int> &fieldIndicesB,
const QgsGeometryParameters ¶meters = QgsGeometryParameters() );
69 bool sanitizeIntersectionResult( QgsGeometry &geom,
Qgis::GeometryType geometryType, SanitizeFlags flags = SanitizeFlags() );
81 void resolveOverlaps(
const QgsFeatureSource &source, QgsFeatureSink &sink, QgsProcessingFeedback *feedback,
const QgsGeometryParameters ¶meters = QgsGeometryParameters(), SanitizeFlags flags = SanitizeFlags() );
GeometryType
The geometry types are used to group Qgis::WkbType in a coarse way.
An interface for objects which accept features via addFeature(s) methods.
An interface for objects which provide features via a getFeatures method.
Container of fields for a vector layer.
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.