Horizon
Public Member Functions | Public Attributes | List of all members
PNS::NODE::DEFAULT_OBSTACLE_VISITOR Struct Reference
Inheritance diagram for PNS::NODE::DEFAULT_OBSTACLE_VISITOR:
PNS::OBSTACLE_VISITOR

Public Member Functions

 DEFAULT_OBSTACLE_VISITOR (NODE::OBSTACLES &aTab, const ITEM *aItem, int aKindMask, bool aDifferentNetsOnly)
 
void SetCountLimit (int aLimit)
 
bool operator() (ITEM *aCandidate) override
 
- Public Member Functions inherited from PNS::OBSTACLE_VISITOR
 OBSTACLE_VISITOR (const ITEM *aItem)
 
void SetWorld (const NODE *aNode, const NODE *aOverride=NULL)
 
virtual bool operator() (ITEM *aCandidate)=0
 

Public Attributes

OBSTACLES & m_tab
 

‍list of encountered obstacles


 
int m_kindMask
 

‍acccepted kinds of colliding items (solids, vias, segments, etc...)


 
int m_limitCount
 

‍max number of hits


 
int m_matchCount
 

‍number of items found so far


 
int m_extraClearance
 

‍additional clearance


 
bool m_differentNetsOnly
 
int m_forceClearance
 

Additional Inherited Members

- Protected Member Functions inherited from PNS::OBSTACLE_VISITOR
bool visit (ITEM *aCandidate)
 
- Protected Attributes inherited from PNS::OBSTACLE_VISITOR
const ITEMm_item
 

‍the item we are looking for collisions with


 
const NODEm_node
 

‍node we are searching in (either root or a branch)


 
const NODEm_override
 

‍node that overrides root entries


 
int m_extraClearance
 

‍additional clearance


 

Member Function Documentation

◆ operator()()

bool PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator() ( ITEM aCandidate)
inlineoverridevirtual

Implements PNS::OBSTACLE_VISITOR.


The documentation for this struct was generated from the following file: