|
KiCad PCB EDA Suite
|
One participant in a constraint: a referenced board item plus the feature of that item that participates. More...
#include <pcb_constraint.h>
Public Member Functions | |
| CONSTRAINT_MEMBER () | |
| CONSTRAINT_MEMBER (const KIID &aItem, CONSTRAINT_ANCHOR aAnchor, int aIndex=-1) | |
| bool | operator== (const CONSTRAINT_MEMBER &aOther) const =default |
Public Attributes | |
| KIID | m_item |
| Referenced board item, usually a PCB_SHAPE. | |
| CONSTRAINT_ANCHOR | m_anchor |
| Which feature of that item participates. | |
| int | m_index = -1 |
| Vertex ordinal; only meaningful for the VERTEX anchor. | |
One participant in a constraint: a referenced board item plus the feature of that item that participates.
Definition at line 85 of file pcb_constraint.h.
|
inline |
Definition at line 91 of file pcb_constraint.h.
References m_anchor, m_item, niluuid, and WHOLE.
Referenced by operator==().
|
inline |
Definition at line 97 of file pcb_constraint.h.
|
default |
References CONSTRAINT_MEMBER().
| CONSTRAINT_ANCHOR CONSTRAINT_MEMBER::m_anchor |
Which feature of that item participates.
Definition at line 88 of file pcb_constraint.h.
Referenced by BOARD_CONSTRAINT_ADAPTER::anchorParams(), BOARD_CONSTRAINT_ADAPTER::Build(), CONSTRAINT_MEMBER(), CONSTRAINT_MEMBER(), ConstraintAnchorPosition(), ConstraintMemberLabel(), DimensionEndpointsBound(), BOARD_CONSTRAINT_ADAPTER::pinDraggedShapeRest(), PCB_IO_KICAD_SEXPR_PARSER::resolveConstraints(), and BOARD_CONSTRAINT_ADAPTER::Solve().
| int CONSTRAINT_MEMBER::m_index = -1 |
Vertex ordinal; only meaningful for the VERTEX anchor.
Definition at line 89 of file pcb_constraint.h.
Referenced by BOARD_CONSTRAINT_ADAPTER::anchorParams(), CONSTRAINT_MEMBER(), ConstraintAnchorPosition(), ConstraintMemberLabel(), BOARD_CONSTRAINT_ADAPTER::pinDraggedShapeRest(), and PCB_IO_KICAD_SEXPR_PARSER::resolveConstraints().
| KIID CONSTRAINT_MEMBER::m_item |
Referenced board item, usually a PCB_SHAPE.
Definition at line 87 of file pcb_constraint.h.
Referenced by BOARD_CONSTRAINT_ADAPTER::anchorParams(), BOARD_CONSTRAINT_ADAPTER::Build(), CONSTRAINT_MEMBER(), CONSTRAINT_MEMBER(), ConstraintAnchorPosition(), DimensionEndpointsBound(), BOARD_CONSTRAINT_ADAPTER::pinDraggedShapeRest(), CONSTRAINT_OVERLAY::render(), PCB_IO_KICAD_SEXPR_PARSER::resolveConstraints(), BOARD_CONSTRAINT_ADAPTER::Solve(), and SolveCluster().