std::vector< AM_PARAM > AM_PARAMS
AM_PRIMITIVE_ID
The set of all "aperture macro primitives" (primitive numbers).
An aperture macro primitive as given in gerber layer format doc.
void ConvertBasicShapeToPolygon(APERTURE_MACRO *aApertMacro, SHAPE_POLY_SET &aShapeBuffer)
Generate the polygonal shape of the primitive shape of an aperture macro instance.
bool IsAMPrimitiveExposureOn(APERTURE_MACRO *aApertMacro) const
void ConvertShapeToPolygon(APERTURE_MACRO *aApertMacroe, std::vector< VECTOR2I > &aBuffer)
Convert a shape to an equivalent polygon.
AM_PARAMS m_Params
A sequence of parameters used by the primitive.
AM_PRIMITIVE_ID m_Primitive_id
The primitive type.
AM_PRIMITIVE(bool aGerbMetric, AM_PRIMITIVE_ID aId=AMP_UNKNOWN)
Support the "aperture macro" defined within standard RS274X.
A gerber DCODE (also called Aperture) definition.
Represent a set of closed polygons.