|
|
| SHAPE_RECT () |
| | Constructor Creates an empty (0-sized) rectangle.
|
| |
|
| SHAPE_RECT (int aX0, int aY0, int aW, int aH) |
| | Constructor Creates a rectangle defined by top-left corner (aX0, aY0), width aW and height aH.
|
| |
|
| SHAPE_RECT (const VECTOR2I &aP0, int aW, int aH) |
| | Constructor Creates a rectangle defined by top-left corner aP0, width aW and height aH.
|
| |
|
| SHAPE_RECT (const SHAPE_RECT &aOther) |
| |
| SHAPE * | Clone () const override |
| | Function Clone() More...
|
| |
| const BOX2I | BBox (int aClearance=0) const override |
| | Function BBox() More...
|
| |
| int | Diagonal () const |
| | Function Diagonal() More...
|
| |
| bool | Collide (const SEG &aSeg, int aClearance=0) const override |
| | Function Collide() More...
|
| |
| const VECTOR2I & | GetPosition () const |
| | Function GetPosition() More...
|
| |
| const VECTOR2I | GetSize () const |
| | Function GetSize() More...
|
| |
| const int | GetWidth () const |
| | Function GetWidth() More...
|
| |
| const int | GetHeight () const |
| | Function GetHeight() More...
|
| |
| void | Move (const VECTOR2I &aVector) override |
| |
| bool | IsSolid () const override |
| |
|
const SHAPE_LINE_CHAIN | Outline () const |
| |
| | SHAPE (SHAPE_TYPE aType) |
| | Constructor. More...
|
| |
| SHAPE_TYPE | Type () const |
| | Function Type() More...
|
| |
| virtual SHAPE * | Clone () const |
| | Function Clone() More...
|
| |
| virtual bool | Collide (const VECTOR2I &aP, int aClearance=0) const |
| | Function Collide() More...
|
| |
| virtual bool | Collide (const SHAPE *aShape, int aClearance, VECTOR2I &aMTV) const |
| | Function Collide() More...
|
| |
|
virtual bool | Collide (const SHAPE *aShape, int aClearance=0) const |
| |
| virtual bool | Collide (const SEG &aSeg, int aClearance=0) const =0 |
| | Function Collide() More...
|
| |
| virtual const BOX2I | BBox (int aClearance=0) const =0 |
| | Function BBox() More...
|
| |
| virtual VECTOR2I | Centre () const |
| | Function Centre() More...
|
| |
|
virtual void | Move (const VECTOR2I &aVector)=0 |
| |
|
virtual bool | IsSolid () const =0 |
| |
| virtual bool | Parse (std::stringstream &aStream) |
| |
| virtual const std::string | Format () const |
| |