Class: QgsVectorLayerUndoCommandChangeGeometry¶
Undo command for modifying the geometry of a feature from a vector layer.
Class Hierarchy¶
Base classes¶
Base class for undo commands within a |
|
- class qgis.core.QgsVectorLayerUndoCommandChangeGeometry[source]¶
Bases:
QgsVectorLayerUndoCommand
- __init__(buffer: QgsVectorLayerEditBuffer | None, fid: int, newGeom: QgsGeometry)
Constructor for QgsVectorLayerUndoCommandChangeGeometry
- Parameters:
buffer (Optional[QgsVectorLayerEditBuffer]) – associated edit buffer
fid (int) – feature ID of feature to modify geometry of
newGeom (QgsGeometry) – new geometry for feature