KiCad PCB EDA Suite
array_axis.cpp File Reference
#include <array_axis.h>

Go to the source code of this file.

Functions

static bool schemeNonUnitColsStartAt0 (ARRAY_AXIS::NUMBERING_TYPE type)
 

Function Documentation

◆ schemeNonUnitColsStartAt0()

static bool schemeNonUnitColsStartAt0 ( ARRAY_AXIS::NUMBERING_TYPE  type)
static
Returns
False for schemes like 0,1...9,10 True for schemes like A,B..Z,AA (where the tens column starts with char 0)

Definition at line 31 of file array_axis.cpp.

32 {
33  return type == ARRAY_AXIS::NUMBERING_TYPE::NUMBERING_ALPHA_FULL
34  || type == ARRAY_AXIS::NUMBERING_TYPE::NUMBERING_ALPHA_NO_IOSQXZ;
35 }

Referenced by ARRAY_AXIS::GetItemNumber(), and ARRAY_AXIS::getNumberingOffset().