122 bool aSolidsOnly =
true,
int aMaxIterations = 10 );
132 int aLayer = -1 )
const override;
Base class for PNS router board items.
void SetCenter(const VECTOR2I &aCenter)
Keep the router "world" - i.e.
virtual int AnchorCount() const override
const VIA_HANDLE MakeHandle() const
VIA * Clone() const override
Return a deep copy of the item.
bool PushoutForce(NODE *aNode, const VECTOR2I &aDirection, VECTOR2I &aForce, bool aSolidsOnly=true, int aMaxIterations=10)
OPT_BOX2I ChangedArea(const VIA *aOther) const
const SHAPE * Shape() const override
Return the geometrical shape of the item.
const VECTOR2I & Pos() const
static bool ClassOf(const ITEM *aItem)
void SetDiameter(int aDiameter)
void SetIsFree(bool aIsFree)
const SHAPE_CIRCLE * Hole() const override
An abstract shape on 2D plane.
void SetLayers(const LAYER_RANGE &aLayers)
void SetPos(const VECTOR2I &aPos)
const SHAPE_LINE_CHAIN Hull(int aClearance=0, int aWalkaroundThickness=0, int aLayer=-1) const override
void SetRadius(int aRadius)
void SetDrill(int aDrill)
PnsKind Kind() const
Return the type (kind) of the item.
void SetHole(const SHAPE_CIRCLE &aHole)
Push and Shove diff pair dimensions (gap) settings dialog.
void SetViaType(VIATYPE aViaType)
Represent a contiguous set of PCB layers.
const LAYER_RANGE & Layers() const
virtual VECTOR2I Anchor(int n) const override
VIA(const VECTOR2I &aPos, const LAYER_RANGE &aLayers, int aDiameter, int aDrill, int aNet=-1, VIATYPE aViaType=VIATYPE::THROUGH)