15 #ifndef QGSVECTORLAYEREDITUTILS_H 16 #define QGSVECTORLAYEREDITUTILS_H 41 bool insertVertex(
double x,
double y,
QgsFeatureId atFeatureId,
int beforeVertex );
47 bool moveVertex(
double x,
double y,
QgsFeatureId atFeatureId,
int atVertex );
59 Q_DECL_DEPRECATED
bool deleteVertex(
QgsFeatureId atFeatureId,
int atVertex );
139 int translateFeature(
QgsFeatureId featureId,
double dx,
double dy );
149 int splitParts(
const QList<QgsPoint>& splitLine,
bool topologicalEditing =
false );
159 int splitFeatures(
const QList<QgsPoint>& splitLine,
bool topologicalEditing =
false );
166 int addTopologicalPoints(
const QgsGeometry *geom );
175 int addTopologicalPoints(
const QgsPoint& p );
188 int boundingBoxFromPointList(
const QList<QgsPoint>& list,
double& xmin,
double& ymin,
double& xmax,
double& ymax )
const;
193 #endif // QGSVECTORLAYEREDITUTILS_H
QSet< QgsFeatureId > QgsFeatureIds
A geometry is the spatial representation of a feature.
Point geometry type, with support for z-dimension and m-values.
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.
EditResult
Result of an edit operation.