KiCad PCB EDA Suite
|
#include <pns_optimizer.h>
Public Member Functions | |
PRESERVE_VERTEX_CONSTRAINT (NODE *aWorld, const VECTOR2I &aV) | |
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 | |
VECTOR2I | m_v |
Definition at line 297 of file pns_optimizer.h.
|
inline |
Definition at line 300 of file pns_optimizer.h.
|
overridevirtual |
Implements PNS::OPT_CONSTRAINT.
Definition at line 248 of file pns_optimizer.cpp.
References SHAPE_LINE_CHAIN::CSegment(), m_v, SHAPE_LINE_CHAIN::SegmentCount(), and SEG::SquaredDistance().
|
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().
|
private |
Definition at line 310 of file pns_optimizer.h.
Referenced by Check().
|
protectedinherited |
Definition at line 237 of file pns_optimizer.h.
Referenced by PNS::KEEP_TOPOLOGY_CONSTRAINT::Check().