20#ifndef LIBREPCB_EDITOR_CMDBOARDSPLITNETLINE_H
21#define LIBREPCB_EDITOR_CMDBOARDSPLITNETLINE_H
26#include "../../undocommandgroup.h"
37class CmdBoardNetSegmentAddElements;
The BI_NetLine class.
Definition bi_netline.h:71
The BI_NetPoint class.
Definition bi_netpoint.h:46
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
Undo command to split a librepcb::BI_NetLine.
Definition cmdboardsplitnetline.h:53
BI_NetPoint * getSplitPoint() noexcept
Definition cmdboardsplitnetline.h:59
~CmdBoardSplitNetLine() noexcept
Definition cmdboardsplitnetline.cpp:48
BI_NetPoint * mSplitPoint
The new BI_NetPoint at the split position.
Definition cmdboardsplitnetline.h:67
BI_NetLine & mOldNetLine
The BI_NetLine to be split.
Definition cmdboardsplitnetline.h:66
bool performExecute() override
Execute the command the first time.
Definition cmdboardsplitnetline.cpp:55
The UndoCommandGroup class makes it possible to pack multiple undo commands together (it acts as a pa...
Definition undocommandgroup.h:44
Definition occmodel.cpp:76