20#ifndef LIBREPCB_EDITOR_CMDBOARDNETSEGMENTADDELEMENTS_H
21#define LIBREPCB_EDITOR_CMDBOARDNETSEGMENTADDELEMENTS_H
26#include "../../undocommand.h"
39class BI_NetLineAnchor;
Definition bi_netline.h:46
The BI_NetLine class.
Definition bi_netline.h:71
The BI_NetPoint class.
Definition bi_netpoint.h:46
The BI_NetSegment class.
Definition bi_netsegment.h:52
The BI_Via class.
Definition bi_via.h:44
The Layer class provides all supported geometry layers.
Definition layer.h:42
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The Via class represents a via of a board.
Definition via.h:52
The CmdBoardNetSegmentAddElements class.
Definition cmdboardnetsegmentaddelements.h:53
void performRedo() override
Redo the command.
Definition cmdboardnetsegmentaddelements.cpp:102
QList< BI_NetLine * > mNetLines
Definition cmdboardnetsegmentaddelements.h:85
void performUndo() override
Undo the command.
Definition cmdboardnetsegmentaddelements.cpp:98
BI_NetLine * addNetLine(BI_NetLine &netline)
Definition cmdboardnetsegmentaddelements.cpp:74
BI_NetPoint * addNetPoint(BI_NetPoint &netpoint)
Definition cmdboardnetsegmentaddelements.cpp:63
QList< BI_NetPoint * > mNetPoints
Definition cmdboardnetsegmentaddelements.h:84
BI_NetSegment & mNetSegment
Definition cmdboardnetsegmentaddelements.h:82
QList< BI_Via * > mVias
Definition cmdboardnetsegmentaddelements.h:83
~CmdBoardNetSegmentAddElements() noexcept
Definition cmdboardnetsegmentaddelements.cpp:46
bool performExecute() override
Execute the command the first time.
Definition cmdboardnetsegmentaddelements.cpp:92
BI_Via * addVia(BI_Via &via)
Definition cmdboardnetsegmentaddelements.cpp:53
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition length.h:810