QgsVectorLayerUndoCommandChangeGeometry class

Undo command for modifying the geometry of a feature from a vector layer.

Base classes

class QgsVectorLayerUndoCommand
Base class for undo commands within a QgsVectorLayerEditBuffer.

Constructors, destructors, conversion operators

QgsVectorLayerUndoCommandChangeGeometry(QgsVectorLayerEditBuffer* buffer, QgsFeatureId fid, const QgsGeometry& newGeom)
Constructor for QgsVectorLayerUndoCommandChangeGeometry.

Function documentation

QgsVectorLayerUndoCommandChangeGeometry::QgsVectorLayerUndoCommandChangeGeometry(QgsVectorLayerEditBuffer* buffer, QgsFeatureId fid, const QgsGeometry& newGeom)

Constructor for QgsVectorLayerUndoCommandChangeGeometry.

Parameters
buffer associated edit buffer
fid feature ID of feature to modify geometry of
newGeom new geometry for feature