42 #define FIRST_DCODE_VALUE 10 // D_CODE < 10 is a command, D_CODE >= 10 is a tool 106 else if( aCount > 12 )
173 bool IsSamePoly(
const std::vector<wxPoint>& aPolygon )
const;
181 void Format( FILE * aOutput,
double aIu2GbrMacroUnit );
202 void Append(
const std::vector<wxPoint>& aPolygon );
209 int FindAm(
const std::vector<wxPoint>& aPolygon )
const;
217 void Format( FILE * aOutput,
double aIu2GbrMacroUnit );
void SetRegPolyVerticeCount(int aCount)
void SetRotation(double aRotDegree)
void SetDiameter(int aDiameter)
APER_MACRO_FREEPOLY_LIST()
APER_MACRO_FREEPOLY(const std::vector< wxPoint > &aPolygon, int aId)
void SetSize(const wxSize &aSize)
void Append(const std::vector< wxPoint > &aPolygon)
append a new APER_MACRO_FREEPOLY containing the polygon aPolygon to the current list
A class to define an aperture macros based on a free polygon, i.e.
std::vector< wxPoint > m_Corners
int GetRegPolyVerticeCount()
std::vector< APER_MACRO_FREEPOLY > m_AMList
std::vector< wxPoint > m_Corners
int FindAm(const std::vector< wxPoint > &aPolygon) const
void Format(FILE *aOutput, double aIu2GbrMacroUnit)
print the aperture macro definition to aOutput
void Format(FILE *aOutput, double aIu2GbrMacroUnit)
print the aperture macro list to aOutput
bool IsSamePoly(const std::vector< wxPoint > &aPolygon) const