15#ifndef QGSVECTORLAYEREDITUTILS_H
16#define QGSVECTORLAYEREDITUTILS_H
42 bool insertVertex(
double x,
double y,
QgsFeatureId atFeatureId,
int beforeVertex );
56 bool moveVertex(
double x,
double y,
QgsFeatureId atFeatureId,
int atVertex );
164 int translateFeature(
QgsFeatureId featureId,
double dx,
double dy );
234 int addTopologicalPoints(
const QgsGeometry &geom );
245 int addTopologicalPoints(
const QgsPointXY &p );
257 int addTopologicalPoints(
const QgsPoint &p );
291 bool boundingBoxFromPointList(
const QgsPointSequence &list,
double &xmin,
double &ymin,
double &xmax,
double &ymax )
const;
GeometryOperationResult
Success or failure of a geometry operation.
VectorEditResult
Specifies the result of a vector layer edit operation.
Abstract base class for curved geometry type.
A geometry is the spatial representation of a feature.
A class to represent a 2D point.
Point geometry type, with support for z-dimension and m-values.
Contains utility functions for editing vector layers.
Represents a vector layer which manages a vector based data sets.
QVector< QgsPoint > QgsPointSequence
QSet< QgsFeatureId > QgsFeatureIds
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features