![]() |
KiCad PCB EDA Suite
|
Public Member Functions | |
TSubRect () | |
TSubRect (int _w, int _h, int _n) | |
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 | n |
int | w |
int | h |
int | x |
int | y |
Definition at line 45 of file spread_footprints.cpp.
|
inline |
Definition at line 49 of file spread_footprints.cpp.
|
inline |
Definition at line 54 of file spread_footprints.cpp.
|
inlineinherited |
Definition at line 43 of file rect_placement.h.
References CRectPlacement::TRect::h, CRectPlacement::TRect::w, CRectPlacement::TPos::x, and CRectPlacement::TPos::y.
Referenced by CRectPlacement::IsFree().
|
inlineinherited |
Definition at line 47 of file rect_placement.h.
References CRectPlacement::TRect::h, CRectPlacement::TRect::w, CRectPlacement::TPos::x, and CRectPlacement::TPos::y.
|
inlinestaticinherited |
Definition at line 62 of file rect_placement.h.
References CRectPlacement::TRect::h, and CRectPlacement::TRect::w.
Referenced by spreadRectangles().
|
inlineinherited |
Definition at line 52 of file rect_placement.h.
References CRectPlacement::TRect::h, CRectPlacement::TRect::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.
|
inherited |
Definition at line 37 of file rect_placement.h.
Referenced by CRectPlacement::AddAtEmptySpot(), CRectPlacement::AddAtEmptySpotAutoGrow(), CRectPlacement::AddRect(), CRectPlacement::TRect::Contains(), CRectPlacement::GetH(), CRectPlacement::GetTotalArea(), CRectPlacement::TRect::Greater(), CRectPlacement::TRect::Intersects(), and SpreadFootprints().
int TSubRect::n |
Definition at line 47 of file spread_footprints.cpp.
Referenced by SpreadFootprints().
|
inherited |
Definition at line 37 of file rect_placement.h.
Referenced by CRectPlacement::AddAtEmptySpot(), CRectPlacement::AddAtEmptySpotAutoGrow(), CRectPlacement::AddRect(), CRectPlacement::TRect::Contains(), CRectPlacement::End(), CRectPlacement::GetTotalArea(), CRectPlacement::GetW(), CRectPlacement::TRect::Greater(), CRectPlacement::TRect::Intersects(), CRectPlacement::IsOk(), and SpreadFootprints().
|
inherited |
Definition at line 27 of file rect_placement.h.
Referenced by CRectPlacement::AddAtEmptySpot(), CRectPlacement::AddPosition(), CRectPlacement::AddRect(), CRectPlacement::TRect::Contains(), CRectPlacement::TRect::Intersects(), CRectPlacement::TPos::operator==(), SpreadFootprints(), and spreadRectangles().
|
inherited |
Definition at line 27 of file rect_placement.h.
Referenced by CRectPlacement::AddAtEmptySpot(), CRectPlacement::AddPosition(), CRectPlacement::AddRect(), CRectPlacement::TRect::Contains(), CRectPlacement::TRect::Intersects(), CRectPlacement::TPos::operator==(), SpreadFootprints(), and spreadRectangles().