KiCad PCB EDA Suite
|
#include <pns_optimizer.h>
Public Member Functions | |
KEEP_TOPOLOGY_CONSTRAINT (NODE *aWorld) | |
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 |
Definition at line 283 of file pns_optimizer.h.
|
inline |
Definition at line 286 of file pns_optimizer.h.
|
overridevirtual |
Implements PNS::OPT_CONSTRAINT.
Definition at line 384 of file pns_optimizer.cpp.
References SHAPE_LINE_CHAIN::Append(), SHAPE_LINE_CHAIN::BBox(), PNS::LINE::CLine(), SHAPE_LINE_CHAIN::CPoint(), PNS::ITEM::Layers(), PNS::OPT_CONSTRAINT::m_world, PNS::ITEM::Net(), SHAPE_LINE_CHAIN::PointCount(), PNS::pointInside2(), PNS::NODE::QueryJoints(), SHAPE_LINE_CHAIN::Reverse(), SHAPE_LINE_CHAIN::SetClosed(), SHAPE_LINE_CHAIN::Slice(), and PNS::ITEM::SOLID_T.
|
inlineinherited |
Definition at line 233 of file pns_optimizer.h.
References PNS::OPT_CONSTRAINT::m_priority.
|
inlineinherited |
Definition at line 234 of file pns_optimizer.h.
References PNS::OPT_CONSTRAINT::m_priority.
|
protectedinherited |
Definition at line 238 of file pns_optimizer.h.
Referenced by PNS::OPT_CONSTRAINT::GetPriority(), PNS::OPT_CONSTRAINT::OPT_CONSTRAINT(), and PNS::OPT_CONSTRAINT::SetPriority().
|
protectedinherited |
Definition at line 237 of file pns_optimizer.h.
Referenced by Check().