42#define FIRST_DCODE_VALUE 10
106 else if( aCount > 12 )
164 bool IsSamePoly(
const std::vector<VECTOR2I>& aPolygon )
const;
172 void Format( FILE * aOutput,
double aIu2GbrMacroUnit );
193 void Append(
const std::vector<VECTOR2I>& aPolygon );
200 int FindAm(
const std::vector<VECTOR2I>& aPolygon )
const;
208 void Format( FILE * aOutput,
double aIu2GbrMacroUnit );
int GetRegPolyVerticeCount()
std::vector< VECTOR2I > m_Corners
void SetRotation(const EDA_ANGLE &aRotation)
void SetSize(const VECTOR2I &aSize)
void SetDiameter(int aDiameter)
void SetRegPolyVerticeCount(int aCount)
std::vector< APER_MACRO_FREEPOLY > m_AMList
void Append(const std::vector< VECTOR2I > &aPolygon)
append a new APER_MACRO_FREEPOLY containing the polygon aPolygon to the current list
APER_MACRO_FREEPOLY_LIST()
int FindAm(const std::vector< VECTOR2I > &aPolygon) const
void Format(FILE *aOutput, double aIu2GbrMacroUnit)
print the aperture macro list to aOutput
A class to define an aperture macros based on a free polygon, i.e.
void Format(FILE *aOutput, double aIu2GbrMacroUnit)
print the aperture macro definition to aOutput
bool IsSamePoly(const std::vector< VECTOR2I > &aPolygon) const
APER_MACRO_FREEPOLY(const std::vector< VECTOR2I > &aPolygon, int aId)
std::vector< VECTOR2I > m_Corners