![]() |
KiCad PCB EDA Suite
|
#include <grid_helper.h>
Public Member Functions | |
ANCHOR (VECTOR2I aPos, int aFlags=CORNER|SNAPPABLE, EDA_ITEM *aItem=NULL) | |
double | Distance (const VECTOR2I &aP) const |
Public Attributes | |
VECTOR2I | pos |
int | flags |
EDA_ITEM * | item |
Definition at line 88 of file grid_helper.h.
|
inline |
Definition at line 90 of file grid_helper.h.
|
inline |
Definition at line 100 of file grid_helper.h.
References pos.
Referenced by PCB_GRID_HELPER::BestDragOrigin(), EE_GRID_HELPER::BestDragOrigin(), EE_GRID_HELPER::BestSnapAnchor(), and PCB_GRID_HELPER::BestSnapAnchor().
int GRID_HELPER::ANCHOR::flags |
Definition at line 97 of file grid_helper.h.
EDA_ITEM* GRID_HELPER::ANCHOR::item |
Definition at line 98 of file grid_helper.h.
Referenced by PCB_GRID_HELPER::GetSnapped(), and EE_GRID_HELPER::GetSnapped().
VECTOR2I GRID_HELPER::ANCHOR::pos |
Definition at line 94 of file grid_helper.h.
Referenced by PCB_GRID_HELPER::BestDragOrigin(), EE_GRID_HELPER::BestDragOrigin(), EE_GRID_HELPER::BestSnapAnchor(), PCB_GRID_HELPER::BestSnapAnchor(), and Distance().