20#ifndef LIBREPCB_EDITOR_CMDSIMPLIFYBOARDNETSEGMENTS_H
21#define LIBREPCB_EDITOR_CMDSIMPLIFYBOARDNETSEGMENTS_H
26#include "../../undocommandgroup.h"
37class BI_NetLineAnchor;
58 const QList<BI_NetSegment*>& segments)
noexcept;
The BI_NetSegment class.
Definition bi_netsegment.h:53
Undo command which runs librepcb::NetSegmentSimplifier on a librepcb::BI_NetSegment.
Definition cmdsimplifyboardnetsegments.h:51
~CmdSimplifyBoardNetSegments() noexcept
Definition cmdsimplifyboardnetsegments.cpp:54
CmdSimplifyBoardNetSegments()=delete
void simplifySegment(BI_NetSegment &segment)
Definition cmdsimplifyboardnetsegments.cpp:72
bool performExecute() override
Execute the command the first time.
Definition cmdsimplifyboardnetsegments.cpp:61
QList< BI_NetSegment * > mSegments
Definition cmdsimplifyboardnetsegments.h:72
CmdSimplifyBoardNetSegments(const CmdSimplifyBoardNetSegments &other)=delete
The UndoCommandGroup class makes it possible to pack multiple undo commands together (it acts as a pa...
Definition undocommandgroup.h:44
Definition occmodel.cpp:77