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

#include <io/srj/srj.hpp>

Public Attributes

std::string id
std::string component
double x = 0
double y = 0
double width = 0
double height = 0
 centre and size, millimetres
double rotation = 0
 ccwRotationDegrees
bool circle = false
 shape "circle": diameter = width
bool non_plated_hole = false
bool copper_pour = false
std::vector< int > layers
 stack indices, ascending
std::vector< std::string > connected_to
 with offBoardConnectsTo appended: both join the obstacle to a net
int net = -1
 index into SrjProblem::nets, -1 = no net

Detailed Description

Definition at line 24 of file srj.hpp.

Member Data Documentation

◆ circle

bool tmk::io::SrjObstacle::circle = false

shape "circle": diameter = width

Definition at line 28 of file srj.hpp.

◆ component

std::string tmk::io::SrjObstacle::component

Definition at line 25 of file srj.hpp.

◆ connected_to

std::vector<std::string> tmk::io::SrjObstacle::connected_to

with offBoardConnectsTo appended: both join the obstacle to a net

Definition at line 31 of file srj.hpp.

◆ copper_pour

bool tmk::io::SrjObstacle::copper_pour = false

Definition at line 29 of file srj.hpp.

◆ height

double tmk::io::SrjObstacle::height = 0

centre and size, millimetres

Definition at line 26 of file srj.hpp.

◆ id

std::string tmk::io::SrjObstacle::id

Definition at line 25 of file srj.hpp.

◆ layers

std::vector<int> tmk::io::SrjObstacle::layers

stack indices, ascending

Definition at line 30 of file srj.hpp.

◆ net

int tmk::io::SrjObstacle::net = -1

index into SrjProblem::nets, -1 = no net

Definition at line 32 of file srj.hpp.

◆ non_plated_hole

bool tmk::io::SrjObstacle::non_plated_hole = false

Definition at line 29 of file srj.hpp.

◆ rotation

double tmk::io::SrjObstacle::rotation = 0

ccwRotationDegrees

Definition at line 27 of file srj.hpp.

◆ width

double tmk::io::SrjObstacle::width = 0

Definition at line 26 of file srj.hpp.

◆ x

double tmk::io::SrjObstacle::x = 0

Definition at line 26 of file srj.hpp.

◆ y

double tmk::io::SrjObstacle::y = 0

Definition at line 26 of file srj.hpp.


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