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 );
136 int translateFeature(
QgsFeatureId featureId,
double dx,
double dy );
167 int addTopologicalPoints(
const QgsGeometry &geom );
177 int addTopologicalPoints(
const QgsPointXY &p );
185 bool boundingBoxFromPointList(
const QVector<QgsPointXY> &list,
double &xmin,
double &ymin,
double &xmax,
double &ymax )
const;
190 #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.