78 virtual const wxString&
GetID()
const = 0;
A source of hole size rules for a plated through hole.
virtual const wxString & GetID() const =0
virtual ~PTH_HOLE_SIZE_STANDARD()=default
virtual int GetLevelCount() const =0
virtual const wxString & GetDisplayName() const =0
virtual int GetMaxHoleAddend(int aLevel) const =0
virtual wxString GetLevelName(int aLevel) const =0
virtual PTH_HOLE_SIZE_RESULT ComputeHoleSize(int aLevel, const PTH_LEAD_DEF &aLead) const =0
Compute the allowable hole size range for a lead.
virtual int GetMinHoleAddend(int aLevel) const =0
int ComputeRecommendedPthHoleSize(const PTH_HOLE_SIZE_RESULT &aRange, int aRoundingStep, PTH_HOLE_ROUNDING aRounding)
Choose a recommended hole within an allowable range.
const PTH_HOLE_SIZE_STANDARD * FindPthHoleSizeStandard(const wxString &aId)
Find a hole size standard in the registry by its ID (e.g.
const std::vector< const PTH_HOLE_SIZE_STANDARD * > & GetPthHoleSizeStandards()