15 #ifndef QGSVECTORLAYEREDITUTILS_H 16 #define QGSVECTORLAYEREDITUTILS_H 19 #include "qgis_core.h" 41 bool insertVertex(
double x,
double y,
QgsFeatureId atFeatureId,
int beforeVertex );
55 bool moveVertex(
double x,
double y,
QgsFeatureId atFeatureId,
int atVertex );
139 int translateFeature(
QgsFeatureId featureId,
double dx,
double dy );
172 int addTopologicalPoints(
const QgsGeometry &geom );
182 int addTopologicalPoints(
const QgsPointXY &p );
190 bool boundingBoxFromPointList(
const QVector<QgsPointXY> &list,
double &xmin,
double &ymin,
double &xmax,
double &ymax )
const;
195 #endif // QGSVECTORLAYEREDITUTILS_H
QSet< QgsFeatureId > QgsFeatureIds
A class to represent a 2D point.
A geometry is the spatial representation of a feature.
OperationResult
Success or failure of a geometry operation.
Abstract base class for curved geometry type.
Point geometry type, with support for z-dimension and m-values.
QVector< QgsPoint > QgsPointSequence
Represents a vector layer which manages a vector based data sets.
EditResult
Result of an edit operation.