KiCad PCB EDA Suite
|
Public Member Functions | |
HIT_VISITOR (ITEM_SET &aTab, const VECTOR2I &aPoint) | |
virtual | ~HIT_VISITOR () |
bool | operator() (ITEM *aItem) override |
void | SetWorld (const NODE *aNode, const NODE *aOverride=nullptr) |
Public Attributes | |
ITEM_SET & | m_items |
const VECTOR2I & | m_point |
Protected Member Functions | |
bool | visit (ITEM *aCandidate) |
Protected Attributes | |
const ITEM * | m_item |
the item we are looking for collisions with | |
const NODE * | m_node |
node we are searching in (either root or a branch) | |
const NODE * | m_override |
node that overrides root entries | |
Definition at line 460 of file pns_node.cpp.
Definition at line 465 of file pns_node.cpp.
|
inlinevirtual |
Definition at line 471 of file pns_node.cpp.
|
inlineoverridevirtual |
Implements PNS::OBSTACLE_VISITOR.
Definition at line 475 of file pns_node.cpp.
References PNS::ITEM_SET::Add(), SHAPE::Collide(), m_items, m_point, and PNS::ITEM::Shape().
|
inherited |
Definition at line 196 of file pns_node.cpp.
References PNS::OBSTACLE_VISITOR::m_node, and PNS::OBSTACLE_VISITOR::m_override.
Referenced by PNS::NODE::HitTest(), and PNS::NODE::QueryColliding().
|
protectedinherited |
Definition at line 203 of file pns_node.cpp.
References PNS::OBSTACLE_VISITOR::m_override, and PNS::NODE::Overrides().
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()().
|
protectedinherited |
the item we are looking for collisions with
Definition at line 191 of file pns_node.h.
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()().
ITEM_SET& PNS::HIT_VISITOR::m_items |
Definition at line 462 of file pns_node.cpp.
Referenced by operator()().
|
protectedinherited |
node we are searching in (either root or a branch)
Definition at line 193 of file pns_node.h.
Referenced by PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()(), and PNS::OBSTACLE_VISITOR::SetWorld().
|
protectedinherited |
node that overrides root entries
Definition at line 194 of file pns_node.h.
Referenced by PNS::OBSTACLE_VISITOR::SetWorld(), and PNS::OBSTACLE_VISITOR::visit().
const VECTOR2I& PNS::HIT_VISITOR::m_point |
Definition at line 463 of file pns_node.cpp.
Referenced by operator()().