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

param other

redo

undo

id(self) → int
Return type

int

mergeWith(self, other: QUndoCommand) → bool
Parameters

other (QUndoCommand) –

Return type

bool

redo(self)
undo(self)