KiCad PCB EDA Suite
|
#include <pns_optimizer.h>
Public Member Functions | |
CORNER_COUNT_LIMIT_CONSTRAINT (NODE *aWorld, int aMinCorners, int aMaxCorners, int aAngleMask) | |
virtual 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 | |
int | m_minCorners |
int | m_maxCorners |
int | m_angleMask |
Definition at line 333 of file pns_optimizer.h.
|
inline |
Definition at line 336 of file pns_optimizer.h.
References m_angleMask, m_maxCorners, m_minCorners, and PNS::OPT_CONSTRAINT::OPT_CONSTRAINT().
|
overridevirtual |
Implements PNS::OPT_CONSTRAINT.
Definition at line 288 of file pns_optimizer.cpp.
References PNS::LINE::CountCorners(), PNS::LINE::Line(), m_angleMask, m_minCorners, SHAPE_LINE_CHAIN::Replace(), and SHAPE_LINE_CHAIN::Simplify2().
|
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 352 of file pns_optimizer.h.
Referenced by Check(), and CORNER_COUNT_LIMIT_CONSTRAINT().
|
private |
Definition at line 351 of file pns_optimizer.h.
Referenced by CORNER_COUNT_LIMIT_CONSTRAINT().
|
private |
Definition at line 350 of file pns_optimizer.h.
Referenced by Check(), and CORNER_COUNT_LIMIT_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().