KiCad PCB EDA Suite
|
A min-max version of BOX2 for fast intersection checking. More...
#include <box2_minmax.h>
Public Member Functions | |
BOX2I_MINMAX () | |
BOX2I_MINMAX (int aLeft, int aTop, int aRight, int aBottom) | |
BOX2I_MINMAX (const VECTOR2I &aPt) | |
BOX2I_MINMAX (int aX, int aY) | |
BOX2I_MINMAX (const BOX2I &aBox) | |
BOX2I_MINMAX (const VECTOR2I &aA, const VECTOR2I &aB) | |
operator BOX2I () | |
BOX2I_MINMAX (const SHAPE_ARC &aArc) | |
BOX2I_MINMAX (const SEG &aSeg) | |
bool | Intersects (const BOX2I_MINMAX &aOther) const |
void | Merge (const VECTOR2I &aPt) |
VECTOR2I | GetCenter () const |
double | GetDiameter () const |
Public Attributes | |
int | m_Left |
int | m_Top |
int | m_Right |
int | m_Bottom |
A min-max version of BOX2 for fast intersection checking.
Definition at line 36 of file box2_minmax.h.
|
inline |
Definition at line 38 of file box2_minmax.h.
|
inline |
Definition at line 40 of file box2_minmax.h.
|
inline |
Definition at line 45 of file box2_minmax.h.
|
inline |
Definition at line 47 of file box2_minmax.h.
|
inline |
Definition at line 49 of file box2_minmax.h.
Definition at line 55 of file box2_minmax.h.
References m_Bottom, m_Left, m_Right, m_Top, VECTOR2< T >::x, and VECTOR2< T >::y.
|
inline |
Definition at line 69 of file box2_minmax.h.
|
inline |
Definition at line 71 of file box2_minmax.h.
|
inline |
|
inline |
Definition at line 104 of file box2_minmax.h.
References m_Bottom, m_Left, m_Right, m_Top, VECTOR2< T >::x, and VECTOR2< T >::y.
|
inline |
Definition at line 73 of file box2_minmax.h.
References left, m_Bottom, m_Left, m_Right, m_Top, and right.
Referenced by PCB_EDIT_FRAME::redrawNetnames(), and SHAPE_LINE_CHAIN::SelfIntersectingWithArcs().
|
inline |
Definition at line 88 of file box2_minmax.h.
References m_Bottom, m_Left, m_Right, m_Top, VECTOR2< T >::x, and VECTOR2< T >::y.
|
inline |
Definition at line 63 of file box2_minmax.h.
References BOX2ISafe(), m_Bottom, m_Left, m_Right, and m_Top.
int BOX2I_MINMAX::m_Bottom |
Definition at line 116 of file box2_minmax.h.
Referenced by BOX2I_MINMAX(), GetCenter(), GetDiameter(), Intersects(), Merge(), and operator BOX2I().
int BOX2I_MINMAX::m_Left |
Definition at line 113 of file box2_minmax.h.
Referenced by BOX2I_MINMAX(), GetCenter(), GetDiameter(), Intersects(), Merge(), and operator BOX2I().
int BOX2I_MINMAX::m_Right |
Definition at line 115 of file box2_minmax.h.
Referenced by BOX2I_MINMAX(), GetCenter(), GetDiameter(), Intersects(), Merge(), and operator BOX2I().
int BOX2I_MINMAX::m_Top |
Definition at line 114 of file box2_minmax.h.
Referenced by BOX2I_MINMAX(), GetCenter(), GetDiameter(), Intersects(), Merge(), and operator BOX2I().