![]() |
KiCad PCB EDA Suite
|
#include <rect_placement.h>
Public Member Functions | |
TRect () | |
TRect (int _x, int _y, int _w, int _h) | |
bool | Contains (const TPos &p) const |
bool | Contains (const TRect &r) const |
bool | Intersects (const TRect &r) const |
bool | operator== (const TPos &p) const |
Static Public Member Functions | |
static bool | Greater (const TRect &a, const TRect &b) |
Public Attributes | |
int | w |
int | h |
int | x |
int | y |
Definition at line 35 of file rect_placement.h.
|
inline |
Definition at line 39 of file rect_placement.h.
|
inline |
Definition at line 40 of file rect_placement.h.
|
inline |
Definition at line 43 of file rect_placement.h.
References h, w, CRectPlacement::TPos::x, and CRectPlacement::TPos::y.
Referenced by CRectPlacement::IsFree().
|
inline |
Definition at line 47 of file rect_placement.h.
References h, r, w, CRectPlacement::TPos::x, and CRectPlacement::TPos::y.
Definition at line 62 of file rect_placement.h.
Referenced by spreadRectangles().
|
inline |
Definition at line 52 of file rect_placement.h.
References h, r, w, CRectPlacement::TPos::x, and CRectPlacement::TPos::y.
|
inlineinherited |
Definition at line 32 of file rect_placement.h.
References CRectPlacement::TPos::x, and CRectPlacement::TPos::y.
int CRectPlacement::TRect::h |
Definition at line 37 of file rect_placement.h.
Referenced by CRectPlacement::AddAtEmptySpotAutoGrow(), Contains(), CRectPlacement::GetH(), CRectPlacement::GetTotalArea(), Greater(), Intersects(), and SpreadFootprints().
int CRectPlacement::TRect::w |
Definition at line 37 of file rect_placement.h.
Referenced by CRectPlacement::AddAtEmptySpotAutoGrow(), Contains(), CRectPlacement::End(), CRectPlacement::GetTotalArea(), CRectPlacement::GetW(), Greater(), Intersects(), CRectPlacement::IsOk(), and SpreadFootprints().
|
inherited |
Definition at line 27 of file rect_placement.h.
Referenced by CRectPlacement::AddPosition(), Contains(), Intersects(), CRectPlacement::TPos::operator==(), and SpreadFootprints().
|
inherited |
Definition at line 27 of file rect_placement.h.
Referenced by CRectPlacement::AddPosition(), Contains(), Intersects(), CRectPlacement::TPos::operator==(), and SpreadFootprints().