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

One constraint chosen for a freshly drawn shape. More...

#include <constraint_builder.h>

Public Attributes

std::unique_ptr< PCB_CONSTRAINTconstraint
 
bool needsSolve = false
 

Detailed Description

One constraint chosen for a freshly drawn shape.

needsSolve marks the inexact ones the caller must solve after its commit push so the drawn geometry snaps into place.

Definition at line 183 of file constraint_builder.h.

Member Data Documentation

◆ constraint

std::unique_ptr<PCB_CONSTRAINT> AUTO_CONSTRAINT::constraint

Definition at line 185 of file constraint_builder.h.

◆ needsSolve

bool AUTO_CONSTRAINT::needsSolve = false

Definition at line 186 of file constraint_builder.h.


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