|
TraceMaker
C++ API of the engine
|
#include <drc/copper.hpp>
Public Attributes | |
| ItemKind | kind = ItemKind::Track |
| int | index = -1 |
| index in the board's pads/tracks/arcs/vias/zones/graphics vector | |
| int | sub = 0 |
| zone fill polygon index | |
| model::NetId | net = 0 |
| model::LayerMask | layers = 0 |
| copper layers the shape is on | |
| std::vector< geom::Shape > | shapes |
| copper shape (identical on every layer in layers) | |
| geom::Box | box |
| int | footprint = -1 |
| model::Point | pos |
| reporting position | |
| Coord | width = 0 |
| tracks/arcs: width; vias: diameter | |
| int | owner = -1 |
| router connection that created this item (-1 = fixed copper) | |
| bool | removed = false |
| ripped up (router working model only) | |
| bool | free_via = false |
| via marked (free yes): its net is fixed for KiCad's net propagation | |
Definition at line 14 of file copper.hpp.
| geom::Box tmk::drc::CopperItem::box |
Definition at line 21 of file copper.hpp.
| int tmk::drc::CopperItem::footprint = -1 |
Definition at line 22 of file copper.hpp.
| bool tmk::drc::CopperItem::free_via = false |
via marked (free yes): its net is fixed for KiCad's net propagation
Definition at line 27 of file copper.hpp.
| int tmk::drc::CopperItem::index = -1 |
index in the board's pads/tracks/arcs/vias/zones/graphics vector
Definition at line 16 of file copper.hpp.
| ItemKind tmk::drc::CopperItem::kind = ItemKind::Track |
Definition at line 15 of file copper.hpp.
| model::LayerMask tmk::drc::CopperItem::layers = 0 |
copper layers the shape is on
Definition at line 19 of file copper.hpp.
| model::NetId tmk::drc::CopperItem::net = 0 |
Definition at line 18 of file copper.hpp.
| int tmk::drc::CopperItem::owner = -1 |
router connection that created this item (-1 = fixed copper)
Definition at line 25 of file copper.hpp.
| model::Point tmk::drc::CopperItem::pos |
reporting position
Definition at line 23 of file copper.hpp.
| bool tmk::drc::CopperItem::removed = false |
ripped up (router working model only)
Definition at line 26 of file copper.hpp.
| std::vector<geom::Shape> tmk::drc::CopperItem::shapes |
copper shape (identical on every layer in layers)
Definition at line 20 of file copper.hpp.
| int tmk::drc::CopperItem::sub = 0 |
zone fill polygon index
Definition at line 17 of file copper.hpp.
| Coord tmk::drc::CopperItem::width = 0 |
tracks/arcs: width; vias: diameter
Definition at line 24 of file copper.hpp.