20#ifndef LIBREPCB_CORE_SI_NETPOINT_H
21#define LIBREPCB_CORE_SI_NETPOINT_H
26#include "../../../geometry/junction.h"
74 bool isOpen() const noexcept
override {
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 NetLineAnchor class.
Definition: netline.h:44
The NetSignal class.
Definition: netsignal.h:50
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition: point.h:79
The Schematic Item Base (SI_Base) class.
Definition: si_base.h:45
Definition: si_netline.h:44
The SI_NetLine class.
Definition: si_netline.h:65
The SI_NetPoint class.
Definition: si_netpoint.h:44
~SI_NetPoint() noexcept
Definition: si_netpoint.cpp:49
const Point & getPosition() const noexcept override
Definition: si_netpoint.h:65
bool operator!=(const SI_NetPoint &rhs) noexcept
Definition: si_netpoint.h:96
void unregisterNetLine(SI_NetLine &netline) override
Definition: si_netpoint.cpp:114
NetSignal & getNetSignalOfNetSegment() const noexcept
Definition: si_netpoint.cpp:64
QSet< SI_NetLine * > mRegisteredNetLines
all registered netlines
Definition: si_netpoint.h:104
void registerNetLine(SI_NetLine &netline) override
Definition: si_netpoint.cpp:103
SI_NetPoint & operator=(const SI_NetPoint &rhs)=delete
bool isUsed() const noexcept
Definition: si_netpoint.h:73
NetLineAnchor toNetLineAnchor() const noexcept override
Definition: si_netpoint.cpp:68
Event
Definition: si_netpoint.h:49
Slot< SI_NetPoint, Event > OnEditedSlot
Definition: si_netpoint.h:55
const QSet< SI_NetLine * > & getNetLines() const noexcept override
Definition: si_netpoint.h:89
const Junction & getJunction() const noexcept
Definition: si_netpoint.h:68
bool isOpen() const noexcept override
Definition: si_netpoint.h:74
void removeFromSchematic() override
Definition: si_netpoint.cpp:96
Junction mJunction
Definition: si_netpoint.h:101
bool isOpenLineEnd() const noexcept
Definition: si_netpoint.cpp:60
SI_NetSegment & mNetSegment
Definition: si_netpoint.h:100
Signal< SI_NetPoint, Event > onEdited
Definition: si_netpoint.h:54
void addToSchematic() override
Definition: si_netpoint.cpp:89
bool operator==(const SI_NetPoint &rhs) noexcept
Definition: si_netpoint.h:95
const Uuid & getUuid() const noexcept
Definition: si_netpoint.h:64
SI_NetPoint(const SI_NetPoint &other)=delete
SI_NetSegment & getNetSegment() const noexcept
Definition: si_netpoint.h:71
void setPosition(const Point &position) noexcept
Definition: si_netpoint.cpp:76
bool isVisibleJunction() const noexcept
Definition: si_netpoint.cpp:56
The SI_NetSegment class.
Definition: si_netsegment.h:53
The Signal class is used to emit signals on non-QObject derived classes.
Definition: signalslot.h:65
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
Definition: occmodel.cpp:77