36 using NET_ITEMS = std::map<int, std::vector<BOARD_ITEM*>>;
43 std::map<PCB_LAYER_ID, NET_ITEMS>
m_items;
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
Information pertinent to a Pcbnew printed circuit board.
FAB_LAYER_INDEX(BOARD &aBoard)
const NET_ITEMS & Items(PCB_LAYER_ID aLayer) const
std::map< PCB_LAYER_ID, NET_ITEMS > m_items
std::map< int, std::vector< BOARD_ITEM * > > NET_ITEMS
int FabTrackWidth(const PCB_TRACK &aTrack, PCB_LAYER_ID aLayer)
Use only for traces and arcs; vias require a layer-specific width.
bool FabMaskShape(const PCB_SHAPE &aShape, PCB_LAYER_ID aLayer, PCB_SHAPE &aResult)
Build an expanded mask copy of an exposed copper shape when needed.
bool FabLayerHasVisibleItems(const BOARD &aBoard, PCB_LAYER_ID aLayer)
True if the board draws visible text, graphics or zones on aLayer.
PCB_LAYER_ID
A quick note on layer IDs: