| 
    KiCad PCB EDA Suite
    
   | 
 
#include <pns_optimizer.h>
  
Public Member Functions | |
| AREA_CONSTRAINT (NODE *aWorld, const BOX2I &aAllowedArea, bool aAllowedAreaStrict) | |
| bool | Check (int aVertex1, int aVertex2, const LINE *aOriginLine, const SHAPE_LINE_CHAIN &aCurrentPath, const SHAPE_LINE_CHAIN &aReplacement) override | 
| int | GetPriority () const | 
| void | SetPriority (int aPriority) | 
Protected Attributes | |
| NODE * | m_world | 
| int | m_priority | 
Private Attributes | |
| BOX2I | m_allowedArea | 
| bool | m_allowedAreaStrict | 
Definition at line 263 of file pns_optimizer.h.
      
  | 
  inline | 
Definition at line 266 of file pns_optimizer.h.
References m_allowedArea, m_allowedAreaStrict, and PNS::OPT_CONSTRAINT::OPT_CONSTRAINT().
      
  | 
  overridevirtual | 
Implements PNS::OPT_CONSTRAINT.
Definition at line 216 of file pns_optimizer.cpp.
References SEG::Angle(), SHAPE_LINE_CHAIN::CPoint(), SHAPE_LINE_CHAIN::CSegment(), PNS::ROUTER_IFACE::GetDebugDecorator(), PNS::ROUTER::GetInstance(), PNS::ROUTER::GetInterface(), EDA_ANGLE::IsHorizontal(), m_allowedArea, and SHAPE_LINE_CHAIN::PointCount().
      
  | 
  inlineinherited | 
Definition at line 233 of file pns_optimizer.h.
References m_priority.
      
  | 
  inlineinherited | 
Definition at line 234 of file pns_optimizer.h.
References m_priority.
      
  | 
  private | 
Definition at line 278 of file pns_optimizer.h.
Referenced by AREA_CONSTRAINT(), and Check().
      
  | 
  private | 
Definition at line 279 of file pns_optimizer.h.
Referenced by AREA_CONSTRAINT().
      
  | 
  protectedinherited | 
Definition at line 238 of file pns_optimizer.h.
Referenced by GetPriority(), OPT_CONSTRAINT(), and SetPriority().
      
  | 
  protectedinherited | 
Definition at line 237 of file pns_optimizer.h.
Referenced by PNS::KEEP_TOPOLOGY_CONSTRAINT::Check(), and OPT_CONSTRAINT().