15 #ifndef QGSVECTORLAYEREDITUTILS_H
16 #define QGSVECTORLAYEREDITUTILS_H
38 bool insertVertex(
double x,
double y,
QgsFeatureId atFeatureId,
int beforeVertex );
44 bool moveVertex(
double x,
double y,
QgsFeatureId atFeatureId,
int atVertex );
54 bool deleteVertex(
QgsFeatureId atFeatureId,
int atVertex );
102 int translateFeature(
QgsFeatureId featureId,
double dx,
double dy );
111 int splitParts(
const QList<QgsPoint>& splitLine,
bool topologicalEditing =
false );
120 int splitFeatures(
const QList<QgsPoint>& splitLine,
bool topologicalEditing =
false );
127 int addTopologicalPoints(
const QgsGeometry *geom );
136 int addTopologicalPoints(
const QgsPoint& p );
149 int boundingBoxFromPointList(
const QList<QgsPoint>& list,
double& xmin,
double& ymin,
double& xmax,
double& ymax )
const;
154 #endif // QGSVECTORLAYEREDITUTILS_H
QSet< QgsFeatureId > QgsFeatureIds
A geometry is the spatial representation of a feature.
A class to represent a point.
QgsGeometryCache * cache()
Abstract base class for curved geometry type.
Represents a vector layer which manages a vector based data sets.