TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::passes::ConnectionStyle Struct Reference

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)

Detailed Description

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.

Definition at line 31 of file style.hpp.

Member Data Documentation

◆ a

model::Point tmk::passes::ConnectionStyle::a

Definition at line 33 of file style.hpp.

◆ acute

int tmk::passes::ConnectionStyle::acute = 0

bends sharper than 90 degrees (the two segments enclose less than 90 degrees)

Definition at line 37 of file style.hpp.

◆ arcs

int tmk::passes::ConnectionStyle::arcs = 0

arc tracks (not judged for bends or angles)

Definition at line 41 of file style.hpp.

◆ b

model::Point tmk::passes::ConnectionStyle::b

the two ends

Definition at line 33 of file style.hpp.

◆ bends

int tmk::passes::ConnectionStyle::bends = 0

direction changes between consecutive segments on one layer

Definition at line 36 of file style.hpp.

◆ layer_a

int tmk::passes::ConnectionStyle::layer_a = -1

Definition at line 34 of file style.hpp.

◆ layer_b

int tmk::passes::ConnectionStyle::layer_b = -1

Definition at line 34 of file style.hpp.

◆ length

Coord tmk::passes::ConnectionStyle::length = 0

nm, each piece rounded to the nanometre

Definition at line 43 of file style.hpp.

◆ net

model::NetId tmk::passes::ConnectionStyle::net = 0

Definition at line 32 of file style.hpp.

◆ octile

Coord tmk::passes::ConnectionStyle::octile = 0

shortest octilinear distance between the ends, nm (0 for a closed loop)

Definition at line 44 of file style.hpp.

◆ off_angle

int tmk::passes::ConnectionStyle::off_angle = 0

segments more than 0.1 degree off the eight octilinear directions

Definition at line 40 of file style.hpp.

◆ segments

int tmk::passes::ConnectionStyle::segments = 0

after joining collinear pieces

Definition at line 35 of file style.hpp.

◆ short_segments

int tmk::passes::ConnectionStyle::short_segments = 0

segments shorter than their own width

Definition at line 39 of file style.hpp.

◆ stair_steps

int tmk::passes::ConnectionStyle::stair_steps = 0

runs, see StyleOptions

Definition at line 38 of file style.hpp.

◆ vias

int tmk::passes::ConnectionStyle::vias = 0

layer changes passed through

Definition at line 42 of file style.hpp.


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