22#ifndef __PNS_SEGMENT_H
23#define __PNS_SEGMENT_H
111 const SHAPE_LINE_CHAIN Hull(
int aClearance,
int aWalkaroundThickness,
int aLayer = -1 )
const override;
126 virtual const std::string
Format()
const override;
Base class for PNS router board items.
const PNS_LAYER_RANGE & Layers() const
virtual NET_HANDLE Net() const
PnsKind Kind() const
Return the type (kind) of the item.
Represents a track on a PCB, connecting two non-trivial joints (that is, vias, pads,...
int Rank() const override
virtual int Marker() const override
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...
const SEG & GetSeg() const
void SetSeg(const SEG &aSeg)
void SetWidth(int aWidth)
An abstract shape on 2D plane.
Push and Shove diff pair dimensions (gap) settings dialog.