55 const BOX2I BBox(
int aClearance = 0 )
const override
60 bool Collide(
const SEG& aSeg,
int aClearance = 0,
int* aActual =
nullptr,
61 VECTOR2I* aLocation =
nullptr )
const override
ERROR_LOC
When approximating an arc or circle, should the error be placed on the outside or inside of the curve...
bool IsSolid() const override
void Rotate(const EDA_ANGLE &aAngle, const VECTOR2I &aCenter={ 0, 0 }) override
bool Collide(const SEG &aSeg, int aClearance=0, int *aActual=nullptr, VECTOR2I *aLocation=nullptr) const override
Check if the boundary of shape (this) lies closer to the segment aSeg than aClearance,...
const BOX2I BBox(int aClearance=0) const override
Compute a bounding box of the shape, with a margin of aClearance a collision.
void Move(const VECTOR2I &aVector) override
void TransformToPolygon(SHAPE_POLY_SET &aBuffer, int aError, ERROR_LOC aErrorLoc) const override
Fills a SHAPE_POLY_SET with a polygon representation of this shape.
SHAPE * Clone() const override
Return a dynamically allocated copy of the shape.
SHAPE_NULL(const SHAPE_NULL &aOther)
SHAPE_NULL & operator=(const SHAPE_NULL &)=default
Represent a set of closed polygons.
An abstract shape on 2D plane.
@ SH_NULL
empty shape (no shape...),