Class: QgsMeshAdvancedEditing

class qgis.core.QgsMeshAdvancedEditing

Bases: sip.wrapper

Abstract class that can be derived to implement advanced editing on mesh

To apply the advanced editing, a pointer to an instance of a derived class is passed in the method QgsMeshEditor.advancedEdit().

New in version 3.22.

QgsMeshAdvancedEditing() Constructor

QgsMeshAdvancedEditing(QgsMeshAdvancedEditing)

Methods

clear

Removes all data provided to the editing or created by the editing

isFinished

Returns whether the advanced edit is finished, if not, this edit has to be applied again with QgsMeshEditor.advancedEdit() until is finished returns True

message

Returns a message that can be provided by the advanced editing when applying is done

setInputFaces

Sets the input faces indexes that will be used for the editing

setInputVertices

Sets the input vertices indexes that will be used for the editing

text

Returns a short text string describing what this advanced edit does.

clear(self)

Removes all data provided to the editing or created by the editing

isFinished(self) bool

Returns whether the advanced edit is finished, if not, this edit has to be applied again with QgsMeshEditor.advancedEdit() until is finished returns True

Return type

bool

message(self) str

Returns a message that can be provided by the advanced editing when applying is done

Return type

str

setInputFaces(self, faceIndexes: Iterable[int])

Sets the input faces indexes that will be used for the editing

Parameters

faceIndexes (Iterable[int]) –

setInputVertices(self, verticesIndexes: Iterable[int])

Sets the input vertices indexes that will be used for the editing

Parameters

verticesIndexes (Iterable[int]) –

text(self) str

Returns a short text string describing what this advanced edit does. Default implementation return a void string.

Return type

str