QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | List of all members
QgsMeshLayerUndoCommandChangeCoordinates Class Reference

Class for undo/redo command for changing coordinate (X,Y,Z) values of vertices. More...

#include <qgsmesheditor.h>

Inheritance diagram for QgsMeshLayerUndoCommandChangeCoordinates:
Inheritance graph
[legend]

Public Member Functions

 QgsMeshLayerUndoCommandChangeCoordinates (QgsMeshEditor *meshEditor, const QList< int > &verticesIndexes, const QList< QgsPoint > &newCoordinates)
 Constructor with the associated meshEditor and indexes verticesIndexes of the vertices that will have the coordinate (X,Y,Z) values changed with newCoordinates. More...
 
void redo () override
 
- Public Member Functions inherited from QgsMeshLayerUndoCommandMeshEdit
void redo () override
 
void undo () override
 

Additional Inherited Members

- Protected Member Functions inherited from QgsMeshLayerUndoCommandMeshEdit
 QgsMeshLayerUndoCommandMeshEdit (QgsMeshEditor *meshEditor)
 Constructor for the base class. More...
 
- Protected Attributes inherited from QgsMeshLayerUndoCommandMeshEdit
QList< QgsMeshEditor::Edit > mEdits
 
QPointer< QgsMeshEditormMeshEditor
 

Detailed Description

Class for undo/redo command for changing coordinate (X,Y,Z) values of vertices.

Since
QGIS 3.22

Definition at line 553 of file qgsmesheditor.h.

Constructor & Destructor Documentation

◆ QgsMeshLayerUndoCommandChangeCoordinates()

QgsMeshLayerUndoCommandChangeCoordinates::QgsMeshLayerUndoCommandChangeCoordinates ( QgsMeshEditor meshEditor,
const QList< int > &  verticesIndexes,
const QList< QgsPoint > &  newCoordinates 
)

Constructor with the associated meshEditor and indexes verticesIndexes of the vertices that will have the coordinate (X,Y,Z) values changed with newCoordinates.

Definition at line 1341 of file qgsmesheditor.cpp.

Member Function Documentation

◆ redo()

void QgsMeshLayerUndoCommandChangeCoordinates::redo ( )
override

Definition at line 1349 of file qgsmesheditor.cpp.


The documentation for this class was generated from the following files: