Class: QgsVectorLayerUndoCommandChangeGeometry

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

Bases: QgsVectorLayerUndoCommand

Constructor for QgsVectorLayerUndoCommandChangeGeometry

Parameters

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

Methods

id

rtype

int

mergeWith

rtype

bool

redo

undo

id(self) → int
Return type

int

mergeWith(self, QUndoCommand) → bool
Return type

bool

redo(self)
undo(self)