22#ifndef __PNS_SEGMENT_H
23#define __PNS_SEGMENT_H
105 const SHAPE_LINE_CHAIN Hull(
int aClearance,
int aWalkaroundThickness,
int aLayer = -1 )
const override;
120 virtual const std::string
Format()
const override;
Base class for PNS router board items.
PnsKind Kind() const
Return the type (kind) of the item.
const LAYER_RANGE & Layers() const
Represents a track on a PCB, connecting two non-trivial joints (that is, vias, pads,...
virtual int Marker() const override
int Rank() const override
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)
void SetEnds(const VECTOR2I &a, const VECTOR2I &b)
SEGMENT(const SEG &aSeg, int aNet)
SEGMENT * Clone() const override
Return a deep copy of the item.
virtual VECTOR2I Anchor(int n) const override
const SHAPE * Shape() const override
Return the geometrical shape of the item.
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.