SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::transect::MoveStationPointCommand Class Reference

Single-point move (station + elevation). Used by chart drag-end. More...

#include <transectundocommands.h>

Inheritance diagram for openswmmvis::transect::MoveStationPointCommand:
Collaboration diagram for openswmmvis::transect::MoveStationPointCommand:

Public Member Functions

 MoveStationPointCommand (TransectProvider *provider, int index, double oldStation, double oldElev, double newStation, double newElev, QUndoCommand *parent=nullptr)
 
void undo () override
 
void redo () override
 

Detailed Description

Single-point move (station + elevation). Used by chart drag-end.

Constructor & Destructor Documentation

◆ MoveStationPointCommand()

openswmmvis::transect::MoveStationPointCommand::MoveStationPointCommand ( TransectProvider provider,
int  index,
double  oldStation,
double  oldElev,
double  newStation,
double  newElev,
QUndoCommand *  parent = nullptr 
)

Member Function Documentation

◆ redo()

void openswmmvis::transect::MoveStationPointCommand::redo ( )
override
Here is the call graph for this function:

◆ undo()

void openswmmvis::transect::MoveStationPointCommand::undo ( )
override
Here is the call graph for this function:

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