Class: QgsVectorLayerUndoCommandChangeGeometry

class qgis.core.QgsVectorLayerUndoCommandChangeGeometry(buffer: QgsVectorLayerEditBuffer, fid: int, newGeom: QgsGeometry)

Bases: qgis._core.QgsVectorLayerUndoCommand

Constructor for QgsVectorLayerUndoCommandChangeGeometry

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

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

Enums

Methods

id
mergeWith
redo
undo

Signals

Attributes

id(self) → int
mergeWith(self, QUndoCommand) → bool
redo(self)
undo(self)