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
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
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
An abstract shape on 2D plane.
@ SH_NULL
empty shape (no shape...),