15 #ifndef QGSVECTORLAYEREDITUTILS_H
16 #define QGSVECTORLAYEREDITUTILS_H
37 bool insertVertex(
double x,
double y,
QgsFeatureId atFeatureId,
int beforeVertex );
43 bool moveVertex(
double x,
double y,
QgsFeatureId atFeatureId,
int atVertex );
47 bool deleteVertex(
QgsFeatureId atFeatureId,
int atVertex );
75 int translateFeature(
QgsFeatureId featureId,
double dx,
double dy );
84 int splitParts(
const QList<QgsPoint>& splitLine,
bool topologicalEditing =
false );
93 int splitFeatures(
const QList<QgsPoint>& splitLine,
bool topologicalEditing =
false );
100 int addTopologicalPoints(
const QgsGeometry *geom );
109 int addTopologicalPoints(
const QgsPoint& p );
122 int boundingBoxFromPointList(
const QList<QgsPoint>& list,
double& xmin,
double& ymin,
double& xmax,
double& ymax )
const;
127 #endif // QGSVECTORLAYEREDITUTILS_H
A geometry is the spatial representation of a feature.
A class to represent a point.
QgsGeometryCache * cache()
Represents a vector layer which manages a vector based data sets.