24 #ifndef PCBNEW_ARRAY_OPTIONS__H 25 #define PCBNEW_ARRAY_OPTIONS__H 199 #endif // PCBNEW_ARRAY_OPTIONS__H
int GetArraySize() const override
The number of points in this array.
TRANSFORM GetTransform(int aN, const VECTOR2I &aPos) const override
Get the transform of the n-th point in the array.
ARRAY_OPTIONS(ARRAY_TYPE_T aType)
bool ShouldNumberItems() const
int GetArraySize() const override
The number of points in this array.
virtual int GetArraySize() const =0
The number of points in this array.
wxString GetItemNumber(int n) const override
Get the position number (name) for the n'th array point.
bool m_numberingStartIsSpecified
True if this array's number starts from the preset point False if the array numbering starts from som...
bool m_horizontalThenVertical
long m_nPts
number of point in the array
bool m_shouldNumber
True if this array numbers the new items.
Options that govern the setup of an "array" of multiple item.
virtual wxString GetItemNumber(int n) const =0
Get the position number (name) for the n'th array point.
bool m_reverseNumberingAlternate
void SetSShouldReannotateFootprints(bool aShouldReannotate)
Class that contains information about a single array axis and the numbering of items along that axis.
bool ShouldReannotateFootprints() const
bool m_reannotateFootprints
True if this array will rename any footprints to be unique.
VECTOR2I getGridCoords(int n) const
virtual TRANSFORM GetTransform(int aN, const VECTOR2I &aPos) const =0
Get the transform of the n-th point in the array.
void SetShouldNumber(bool aShouldNumber)
TRANSFORM GetTransform(int aN, const VECTOR2I &aPos) const override
Get the transform of the n-th point in the array.
bool GetNumberingStartIsSpecified() const
void SetNumberingStartIsSpecified(bool aIsSpecified)
double m_angle
angle between points, or 0 for each point separated by this value (decideg)
wxString GetItemNumber(int n) const override
Get the position number (name) for the n'th array point.