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

#include <passes/style.hpp>

Public Member Functions

double bends_per_connection () const
double detour_ratio () const

Public Attributes

std::vector< ConnectionStyle > connections
 sorted by net, then end points
int segments = 0
int bends = 0
int acute = 0
int stair_steps = 0
int short_segments = 0
int off_angle = 0
int arcs = 0
int vias = 0
int long_detours = 0
Coord length = 0
Coord detour_length = 0
Coord detour_octile = 0
 summed over the connections with distinct ends

Detailed Description

Definition at line 47 of file style.hpp.

Member Function Documentation

◆ bends_per_connection()

double tmk::passes::StyleReport::bends_per_connection ( ) const
inline

Definition at line 53 of file style.hpp.

◆ detour_ratio()

double tmk::passes::StyleReport::detour_ratio ( ) const
inline

Definition at line 54 of file style.hpp.

Member Data Documentation

◆ acute

int tmk::passes::StyleReport::acute = 0

Definition at line 49 of file style.hpp.

◆ arcs

int tmk::passes::StyleReport::arcs = 0

Definition at line 49 of file style.hpp.

◆ bends

int tmk::passes::StyleReport::bends = 0

Definition at line 49 of file style.hpp.

◆ connections

std::vector<ConnectionStyle> tmk::passes::StyleReport::connections

sorted by net, then end points

Definition at line 48 of file style.hpp.

◆ detour_length

Coord tmk::passes::StyleReport::detour_length = 0

Definition at line 52 of file style.hpp.

◆ detour_octile

Coord tmk::passes::StyleReport::detour_octile = 0

summed over the connections with distinct ends

Definition at line 52 of file style.hpp.

◆ length

Coord tmk::passes::StyleReport::length = 0

Definition at line 51 of file style.hpp.

◆ long_detours

int tmk::passes::StyleReport::long_detours = 0

Definition at line 50 of file style.hpp.

◆ off_angle

int tmk::passes::StyleReport::off_angle = 0

Definition at line 49 of file style.hpp.

◆ segments

int tmk::passes::StyleReport::segments = 0

Definition at line 49 of file style.hpp.

◆ short_segments

int tmk::passes::StyleReport::short_segments = 0

Definition at line 49 of file style.hpp.

◆ stair_steps

int tmk::passes::StyleReport::stair_steps = 0

Definition at line 49 of file style.hpp.

◆ vias

int tmk::passes::StyleReport::vias = 0

Definition at line 49 of file style.hpp.


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