KiCad PCB EDA Suite
|
Public Member Functions | |
DEFAULT_OBSTACLE_VISITOR (COLLISION_SEARCH_CONTEXT *aCtx, const ITEM *aItem) | |
virtual | ~DEFAULT_OBSTACLE_VISITOR () |
bool | operator() (ITEM *aCandidate) override |
void | SetWorld (const NODE *aNode, const NODE *aOverride=nullptr) |
Public Attributes | |
COLLISION_SEARCH_CONTEXT * | m_ctx |
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 215 of file pns_node.cpp.
|
inline |
Definition at line 219 of file pns_node.cpp.
|
inlinevirtual |
Definition at line 225 of file pns_node.cpp.
|
inlineoverridevirtual |
Implements PNS::OBSTACLE_VISITOR.
Definition at line 229 of file pns_node.cpp.
References PNS::ITEM::Collide(), m_ctx, PNS::OBSTACLE_VISITOR::m_item, PNS::COLLISION_SEARCH_OPTIONS::m_kindMask, PNS::COLLISION_SEARCH_OPTIONS::m_limitCount, PNS::OBSTACLE_VISITOR::m_node, PNS::COLLISION_SEARCH_CONTEXT::obstacles, PNS::ITEM::OfKind(), PNS::COLLISION_SEARCH_CONTEXT::options, and PNS::OBSTACLE_VISITOR::visit().
|
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 operator()().
COLLISION_SEARCH_CONTEXT* PNS::NODE::DEFAULT_OBSTACLE_VISITOR::m_ctx |
Definition at line 217 of file pns_node.cpp.
Referenced by operator()().
|
protectedinherited |
the item we are looking for collisions with
Definition at line 191 of file pns_node.h.
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 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().