20#ifndef LIBREPCB_EDITOR_CMDBOARDPOLYGONREMOVE_H
21#define LIBREPCB_EDITOR_CMDBOARDPOLYGONREMOVE_H
26#include "../../undocommand.h"
The BI_Polygon class.
Definition: bi_polygon.h:46
The Board class represents a PCB of a project and is always part of a circuit.
Definition: board.h:73
The CmdBoardPolygonRemove class.
Definition: cmdboardpolygonremove.h:47
void performRedo() override
Redo the command.
Definition: cmdboardpolygonremove.cpp:63
~CmdBoardPolygonRemove() noexcept
Definition: cmdboardpolygonremove.cpp:46
void performUndo() override
Undo the command.
Definition: cmdboardpolygonremove.cpp:59
Board & mBoard
Definition: cmdboardpolygonremove.h:67
BI_Polygon & mPolygon
Definition: cmdboardpolygonremove.h:68
bool performExecute() override
Execute the command the first time.
Definition: cmdboardpolygonremove.cpp:53
CmdBoardPolygonRemove(BI_Polygon &polygon) noexcept
Definition: cmdboardpolygonremove.cpp:40
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Definition: occmodel.cpp:77