48 if ( cmpnd->
Shapes().size() == 1 )
51 aWalkaroundThickness );
60 aWalkaroundThickness ) );
void Move(const VECTOR2I &delta)
Base class for PNS router board items.
const SHAPE_LINE_CHAIN Hull(int aClearance=0, int aWalkaroundThickness=0, int aLayer=-1) const override
void SetPos(const VECTOR2I &aCenter)
ITEM * Clone() const override
Return a deep copy of the item.
std::vector< VECTOR2I > m_anchorPoints
virtual VECTOR2I Anchor(int aN) const override
virtual int AnchorCount() const override
SHAPE_TYPE Type() const
Return the type of the shape.
const std::vector< SHAPE * > & Shapes() const
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
Represent a set of closed polygons.
int AddOutline(const SHAPE_LINE_CHAIN &aOutline)
Adds a new outline to the set and returns its index.
void Simplify(POLYGON_MODE aFastMode)
Simplify the polyset (merges overlapping polys, eliminates degeneracy/self-intersections) For aFastMo...
SHAPE_LINE_CHAIN & Outline(int aIndex)
Return the reference to aIndex-th outline in the set.
An abstract shape on 2D plane.
virtual void Move(const VECTOR2I &aVector)=0
Push and Shove diff pair dimensions (gap) settings dialog.
const SHAPE_LINE_CHAIN BuildHullForPrimitiveShape(const SHAPE *aShape, int aClearance, int aWalkaroundThickness)
@ SH_COMPOUND
compound shape, consisting of multiple simple shapes