|
TraceMaker
C++ API of the engine
|
One constraint inside a custom rule, e.g. (constraint clearance (min 0.2mm)). More...
#include <model/rules.hpp>
Public Attributes | |
| std::string | type |
| clearance, track_width, disallow, … | |
| std::optional< Coord > | min |
| std::optional< Coord > | opt |
| std::optional< Coord > | max |
| lengths in nm (angles/counts are stored ×1e6 as well) | |
| std::vector< std::string > | items |
| disallow item types, or other bare words | |
One constraint inside a custom rule, e.g. (constraint clearance (min 0.2mm)).
| std::vector<std::string> tmk::model::Constraint::items |
| std::optional<Coord> tmk::model::Constraint::max |
| std::string tmk::model::Constraint::type |