|
KiCad PCB EDA Suite
|
#include <pns_optimizer.h>
Public Member Functions | |
| PRESERVE_SEGMENTS_CONSTRAINT (NODE *aWorld, const std::vector< SEG > &aSegs) | |
| 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 | |
| std::vector< SEG > | m_segs |
Definition at line 324 of file pns_optimizer.h.
|
inline |
Definition at line 327 of file pns_optimizer.h.
References m_segs, and PNS::OPT_CONSTRAINT::OPT_CONSTRAINT().
|
overridevirtual |
Implements PNS::OPT_CONSTRAINT.
Definition at line 282 of file pns_optimizer.cpp.
References SHAPE_LINE_CHAIN::CSegment(), and m_segs.
|
inlineinherited |
Definition at line 245 of file pns_optimizer.h.
References m_priority.
|
inlineinherited |
Definition at line 246 of file pns_optimizer.h.
References m_priority.
|
protectedinherited |
Definition at line 250 of file pns_optimizer.h.
Referenced by GetPriority(), OPT_CONSTRAINT(), and SetPriority().
|
private |
Definition at line 337 of file pns_optimizer.h.
Referenced by Check(), and PRESERVE_SEGMENTS_CONSTRAINT().
|
protectedinherited |
Definition at line 249 of file pns_optimizer.h.
Referenced by PNS::KEEP_TOPOLOGY_CONSTRAINT::Check(), and OPT_CONSTRAINT().