KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CONSTRAINT_MEMBER Struct Reference

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CONSTRAINT_MEMBER() [1/2]

CONSTRAINT_MEMBER::CONSTRAINT_MEMBER ( )
inline

Definition at line 91 of file pcb_constraint.h.

References m_anchor, m_item, niluuid, and WHOLE.

Referenced by operator==().

◆ CONSTRAINT_MEMBER() [2/2]

CONSTRAINT_MEMBER::CONSTRAINT_MEMBER ( const KIID & aItem,
CONSTRAINT_ANCHOR aAnchor,
int aIndex = -1 )
inline

Definition at line 97 of file pcb_constraint.h.

References m_anchor, m_index, and m_item.

Member Function Documentation

◆ operator==()

bool CONSTRAINT_MEMBER::operator== ( const CONSTRAINT_MEMBER & aOther) const
default

References CONSTRAINT_MEMBER().

Member Data Documentation

◆ m_anchor

◆ m_index

◆ m_item


The documentation for this struct was generated from the following file: