20#ifndef LIBREPCB_CORE_BI_NETPOINT_H
21#define LIBREPCB_CORE_BI_NETPOINT_H
26#include "../../../geometry/junction.h"
The Board Item Base (BI_Base) class.
Definition bi_base.h:45
Definition bi_netline.h:46
The BI_NetLine class.
Definition bi_netline.h:71
Event
Definition bi_netline.h:76
The BI_NetPoint class.
Definition bi_netpoint.h:46
const Layer * getLayerOfTraces() const noexcept
Definition bi_netpoint.h:74
bool operator==(const BI_NetPoint &rhs) noexcept
Definition bi_netpoint.h:96
const Point & getPosition() const noexcept override
Definition bi_netpoint.h:68
void removeFromBoard() override
Definition bi_netpoint.cpp:102
Slot< BI_NetPoint, Event > OnEditedSlot
Definition bi_netpoint.h:58
BI_NetPoint(const BI_NetPoint &other)=delete
bool isUsed() const noexcept
Definition bi_netpoint.h:73
void netLineEdited(const BI_NetLine &obj, BI_NetLine::Event event) noexcept
Definition bi_netpoint.cpp:157
void updateMaxTraceWidth() noexcept
Definition bi_netpoint.cpp:180
Event
Definition bi_netpoint.h:51
Signal< BI_NetPoint, Event > onEdited
Definition bi_netpoint.h:57
const Junction & getJunction() const noexcept
Definition bi_netpoint.h:71
Junction mJunction
Definition bi_netpoint.h:106
void updateLayerOfTraces() noexcept
Definition bi_netpoint.cpp:169
const QSet< BI_NetLine * > & getNetLines() const noexcept override
Definition bi_netpoint.h:90
const UnsignedLength & getMaxTraceWidth() const noexcept
Definition bi_netpoint.h:75
const Layer * mLayerOfTraces
Definition bi_netpoint.h:110
bool operator!=(const BI_NetPoint &rhs) noexcept
Definition bi_netpoint.h:97
BI_NetSegment & mNetSegment
Definition bi_netpoint.h:105
void registerNetLine(BI_NetLine &netline) override
Definition bi_netpoint.cpp:120
QSet< BI_NetLine * > mRegisteredNetLines
all registered netlines
Definition bi_netpoint.h:114
const Uuid & getUuid() const noexcept
Definition bi_netpoint.h:67
QMetaObject::Connection mNetSignalNameChangedConnection
Definition bi_netpoint.h:107
void unregisterNetLine(BI_NetLine &netline) override
Definition bi_netpoint.cpp:141
UnsignedLength mMaxTraceWidth
Definition bi_netpoint.h:111
BI_NetPoint & operator=(const BI_NetPoint &rhs)=delete
void addToBoard() override
Definition bi_netpoint.cpp:83
BI_NetSegment & getNetSegment() const noexcept
Definition bi_netpoint.h:72
TraceAnchor toTraceAnchor() const noexcept override
Definition bi_netpoint.cpp:58
~BI_NetPoint() noexcept
Definition bi_netpoint.cpp:51
void setPosition(const Point &position) noexcept
Definition bi_netpoint.cpp:66
BI_NetLine::OnEditedSlot mOnNetLineEditedSlot
Definition bi_netpoint.h:117
The BI_NetSegment class.
Definition bi_netsegment.h:52
The Junction class represents the connection point between netlines or traces.
Definition junction.h:47
const Point & getPosition() const noexcept
Definition junction.h:69
const Uuid & getUuid() const noexcept
Definition junction.h:68
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 Signal class is used to emit signals on non-QObject derived classes.
Definition signalslot.h:65
The Slot class is used to receive signals from non-QObject derived classes.
Definition signalslot.h:170
The TraceAnchor class.
Definition trace.h:45
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
Definition occmodel.cpp:76
type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier > UnsignedLength
Definition length.h:694