|
TraceMaker
C++ API of the engine
|
One connection: copper of one net from one end to the next. More...
#include <passes/style.hpp>
Public Attributes | |
| model::NetId | net = 0 |
| model::Point | a |
| model::Point | b |
| the two ends | |
| int | layer_a = -1 |
| int | layer_b = -1 |
| int | segments = 0 |
| after joining collinear pieces | |
| int | bends = 0 |
| direction changes between consecutive segments on one layer | |
| int | acute = 0 |
| bends sharper than 90 degrees (the two segments enclose less than 90 degrees) | |
| int | stair_steps = 0 |
| runs, see StyleOptions | |
| int | short_segments = 0 |
| segments shorter than their own width | |
| int | off_angle = 0 |
| segments more than 0.1 degree off the eight octilinear directions | |
| int | arcs = 0 |
| arc tracks (not judged for bends or angles) | |
| int | vias = 0 |
| layer changes passed through | |
| Coord | length = 0 |
| nm, each piece rounded to the nanometre | |
| Coord | octile = 0 |
| shortest octilinear distance between the ends, nm (0 for a closed loop) | |
One connection: copper of one net from one end to the next.
An end is a pad of the net, a junction (three or more track ends, or a track end on the middle of another track) or a loose end; a via with exactly two track ends is passed through.
| model::Point tmk::passes::ConnectionStyle::a |
| int tmk::passes::ConnectionStyle::acute = 0 |
| int tmk::passes::ConnectionStyle::arcs = 0 |
| model::Point tmk::passes::ConnectionStyle::b |
| int tmk::passes::ConnectionStyle::bends = 0 |
| Coord tmk::passes::ConnectionStyle::length = 0 |
| model::NetId tmk::passes::ConnectionStyle::net = 0 |
| Coord tmk::passes::ConnectionStyle::octile = 0 |
| int tmk::passes::ConnectionStyle::off_angle = 0 |
| int tmk::passes::ConnectionStyle::segments = 0 |
| int tmk::passes::ConnectionStyle::short_segments = 0 |
| int tmk::passes::ConnectionStyle::stair_steps = 0 |
runs, see StyleOptions
| int tmk::passes::ConnectionStyle::vias = 0 |