85 m_seg.SetWidth(aWidth);
90 return m_seg.GetWidth();
95 return m_seg.GetSeg();
115 int aLayer = -1 )
const override;
120 return m_seg.GetSeg().A;
122 return m_seg.GetSeg().B;
130 virtual const std::string
Format()
const override;
Base class for PNS router board items.
BOARD_ITEM * m_sourceItem
const PNS_LAYER_RANGE & Layers() const
virtual NET_HANDLE Net() const
PnsKind Kind() const
Return the type (kind) of the item.
BOARD_ITEM * GetSourceItem() const
Represents a track on a PCB, connecting two non-trivial joints (that is, vias, pads,...
int Rank() const override
virtual int Marker() const override
LINKED_ITEM(PnsKind aKind)
Keep the router "world" - i.e.
SEGMENT(const LINKED_ITEM &aParent)
virtual const std::string Format() const override
const SHAPE_LINE_CHAIN CLine() const
static bool ClassOf(const ITEM *aItem)
void SetShape(const SHAPE_SEGMENT &aShape)
const SHAPE * Shape(int aLayer) const override
Return the geometrical shape of the item.
void SetEnds(const VECTOR2I &a, const VECTOR2I &b)
SEGMENT * Clone() const override
Return a deep copy of the item.
virtual VECTOR2I Anchor(int n) const override
SEGMENT(const SEG &aSeg, NET_HANDLE aNet)
SEGMENT(const LINE &aParentLine, const SEG &aSeg)
int Width() const override
const SHAPE_LINE_CHAIN Hull(int aClearance, int aWalkaroundThickness, int aLayer=-1) const override
virtual int AnchorCount() const override
void SetWidth(int aWidth) override
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
An abstract shape on 2D plane.
Push and Shove diff pair dimensions (gap) settings dialog.
VECTOR2< int32_t > VECTOR2I