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 );
57 int addRing(
const QList<QgsPoint>& ring );
68 int addPart(
const QList<QgsPoint>& ring,
QgsFeatureId featureId );
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 );
109 int addTopologicalPoints(
const QgsPoint& p );
116 int insertSegmentVerticesForSnap(
const QList<QgsSnappingResult>& snapResults );
122 int boundingBoxFromPointList(
const QList<QgsPoint>& list,
double& xmin,
double& ymin,
double& xmax,
double& ymax )
const;
127 #endif // QGSVECTORLAYEREDITUTILS_H