20#ifndef LIBREPCB_CORE_BI_VIA_H
21#define LIBREPCB_CORE_BI_VIA_H
26#include "../../../geometry/via.h"
55 StopMaskDiametersChanged,
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
The BI_NetSegment class.
Definition: bi_netsegment.h:52
The BI_Via class.
Definition: bi_via.h:44
void setSize(const PositiveLength &size) noexcept
Definition: bi_via.cpp:129
~BI_Via() noexcept
Definition: bi_via.cpp:57
const Point & getPosition() const noexcept override
Definition: bi_via.h:68
BI_Via(const BI_Via &other)=delete
tl::optional< PositiveLength > mStopMaskDiameterBottom
Definition: bi_via.h:122
void removeFromBoard() override
Definition: bi_via.cpp:169
Signal< BI_Via, Event > onEdited
Definition: bi_via.h:57
bool operator!=(const BI_Via &rhs) noexcept
Definition: bi_via.h:110
void setDrillDiameter(const PositiveLength &diameter) noexcept
Definition: bi_via.cpp:137
Via mVia
Definition: bi_via.h:116
bool isUsed() const noexcept
Definition: bi_via.h:84
void updateStopMaskDiameters() noexcept
Definition: bi_via.cpp:206
Event
Definition: bi_via.h:49
void setExposureConfig(const MaskConfig &config) noexcept
Definition: bi_via.cpp:145
tl::optional< std::pair< const Layer *, const Layer * > > getDrillLayerSpan() const noexcept
Definition: bi_via.cpp:64
const PositiveLength & getDrillDiameter() const noexcept
Definition: bi_via.h:73
tl::optional< PositiveLength > mStopMaskDiameterTop
Definition: bi_via.h:121
const PositiveLength & getSize() const noexcept
Definition: bi_via.h:76
const QSet< BI_NetLine * > & getNetLines() const noexcept override
Definition: bi_via.h:103
bool operator==(const BI_Via &rhs) noexcept
Definition: bi_via.h:109
BI_NetSegment & mNetSegment
Definition: bi_via.h:117
Slot< BI_Via, Event > OnEditedSlot
Definition: bi_via.h:58
void registerNetLine(BI_NetLine &netline) override
Definition: bi_via.cpp:184
QSet< BI_NetLine * > mRegisteredNetLines
Definition: bi_via.h:125
BI_Via & operator=(const BI_Via &rhs)=delete
void setLayers(const Layer &from, const Layer &to)
Definition: bi_via.cpp:94
const Uuid & getUuid() const noexcept
Definition: bi_via.h:72
QMetaObject::Connection mNetSignalNameChangedConnection
Definition: bi_via.h:118
void unregisterNetLine(BI_NetLine &netline) override
Definition: bi_via.cpp:199
void addToBoard() override
Definition: bi_via.cpp:155
BI_NetSegment & getNetSegment() const noexcept
Definition: bi_via.h:67
const tl::optional< PositiveLength > & getStopMaskDiameterBottom() const noexcept
Definition: bi_via.h:80
TraceAnchor toTraceAnchor() const noexcept override
Definition: bi_via.cpp:86
void setPosition(const Point &position) noexcept
Definition: bi_via.cpp:116
const Via & getVia() const noexcept
Definition: bi_via.h:71
const tl::optional< PositiveLength > & getStopMaskDiameterTop() const noexcept
Definition: bi_via.h:77
The Layer class provides all supported geometry layers.
Definition: layer.h:42
The MaskConfig class defines how to add automatic stop mask or solder paste.
Definition: maskconfig.h:45
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition: point.h:79
The Signal class is used to emit signals on non-QObject derived classes.
Definition: signalslot.h:65
The TraceAnchor class.
Definition: trace.h:46
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
The Via class represents a via of a board.
Definition: via.h:52
const PositiveLength & getDrillDiameter() const noexcept
Definition: via.h:85
const PositiveLength & getSize() const noexcept
Definition: via.h:84
const Point & getPosition() const noexcept
Definition: via.h:83
const Uuid & getUuid() const noexcept
Definition: via.h:80
Definition: occmodel.cpp:77
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition: length.h:812