19#ifndef OPENSWMMVIS_CURVE_CURVEUNDOCOMMANDS_H
20#define OPENSWMMVIS_CURVE_CURVEUNDOCOMMANDS_H
25#include <QUndoCommand>
38 QVector<CurvePoint> oldPoints,
39 QVector<CurvePoint> newPoints,
41 QUndoCommand *
parent =
nullptr);
46 void apply_(
const QVector<CurvePoint> &target);
49 QVector<int> m_indices;
50 QVector<CurvePoint> m_oldPoints;
51 QVector<CurvePoint> m_newPoints;
Set one or more point coordinates atomically. Indices and the pre/post coordinate vectors must be the...
Definition curveundocommands.h:34
void undo() override
Definition curveundocommands.cpp:47
void redo() override
Definition curveundocommands.cpp:48
Definition curveprovider.h:56
Slice BQ Phase 6.7.1 — MVC model for a single SWMM curve.
Definition curveprovider.h:31
QVector< int > parent
union-find
Definition pslgminsize.cpp:176