|
TraceMaker
C++ API of the engine
|
#include <model/stackup.hpp>
Public Member Functions | |
| int | position_of_copper (int copper_index) const |
| Stack position of copper layer copper_index in layers, -1 if the stackup does not list it. | |
| DielectricGap | between (int a, int b) const |
| Dielectric between copper layers a and b (stack indices, a < b, any distance apart; copper layers in between are not counted). | |
| Coord | copper_thickness (int copper_index) const |
| Copper thickness of copper layer copper_index, 0 if unknown. | |
| const StackupLayer * | mask (bool front) const |
| Solder mask over the given outer side (front = true), nullptr if the stackup has none. | |
Public Attributes | |
| bool | present = false |
| the board has a (stackup ...) block | |
| std::vector< StackupLayer > | layers |
| file order (top to bottom) | |
| std::string | copper_finish |
| bool | dielectric_constraints = false |
Definition at line 39 of file stackup.hpp.
| DielectricGap tmk::model::Stackup::between | ( | int | a, |
| int | b ) const |
Dielectric between copper layers a and b (stack indices, a < b, any distance apart; copper layers in between are not counted).
complete = false if either copper layer is missing from the stackup.
| Coord tmk::model::Stackup::copper_thickness | ( | int | copper_index | ) | const |
Copper thickness of copper layer copper_index, 0 if unknown.
| const StackupLayer * tmk::model::Stackup::mask | ( | bool | front | ) | const |
Solder mask over the given outer side (front = true), nullptr if the stackup has none.
| int tmk::model::Stackup::position_of_copper | ( | int | copper_index | ) | const |
Stack position of copper layer copper_index in layers, -1 if the stackup does not list it.
| std::string tmk::model::Stackup::copper_finish |
Definition at line 42 of file stackup.hpp.
| bool tmk::model::Stackup::dielectric_constraints = false |
Definition at line 43 of file stackup.hpp.
| std::vector<StackupLayer> tmk::model::Stackup::layers |
file order (top to bottom)
Definition at line 41 of file stackup.hpp.
| bool tmk::model::Stackup::present = false |
the board has a (stackup ...) block
Definition at line 40 of file stackup.hpp.