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 262 of file pns_optimizer.h.
|
inline |
Definition at line 265 of file pns_optimizer.h.
|
overridevirtual |
Implements PNS::OPT_CONSTRAINT.
Definition at line 215 of file pns_optimizer.cpp.
References BOX2< Vec >::Contains(), PNS::LINE::CPoint(), m_allowedArea, and m_allowedAreaStrict.
|
inlineinherited |
Definition at line 232 of file pns_optimizer.h.
References PNS::OPT_CONSTRAINT::m_priority.
|
inlineinherited |
Definition at line 233 of file pns_optimizer.h.
References PNS::OPT_CONSTRAINT::m_priority.
|
private |
Definition at line 277 of file pns_optimizer.h.
Referenced by Check().
|
private |
Definition at line 278 of file pns_optimizer.h.
Referenced by Check().
|
protectedinherited |
Definition at line 237 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 236 of file pns_optimizer.h.
Referenced by PNS::KEEP_TOPOLOGY_CONSTRAINT::Check().