KiCad PCB EDA Suite
Loading...
Searching...
No Matches
drill_chart_model.cpp File Reference
#include <drill/drill_chart_model.h>
#include <algorithm>
#include <map>
#include <set>
#include <board.h>
#include <drill/drill_enumerator.h>
#include <pcb_track.h>

Go to the source code of this file.

Functions

std::vector< DRILL_SPANEnumerateDrillSpans (const BOARD &aBoard)
 Every drill span present on the board, through-holes first.
 

Function Documentation

◆ EnumerateDrillSpans()

std::vector< DRILL_SPAN > EnumerateDrillSpans ( const BOARD & aBoard)

Every drill span present on the board, through-holes first.

Shared with the drill writers so a per-span chart and a per-span drill file cannot disagree about which spans exist.

Definition at line 176 of file drill_chart_model.cpp.

References B_Cu, F_Cu, PCB_VIA_T, top(), BOARD::Tracks(), UNDEFINED_LAYER, and via.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCB_DRILL_CHART::buildGroups(), BOARD::DrillSymbolCache(), PCB_DRILL_MAP::GetSpanChoice(), BRDITEMS_PLOTTER::PlotDrillSymbols(), DIALOG_DRILL_GROUPS::Reload(), ResolveDrillSymbols(), ResolveDrillSymbolsByItem(), PCB_DRILL_MAP::SetSpanChoice(), and PCB_PROPERTIES_PANEL::updateLists().