KiCad PCB EDA Suite
|
#include <gbr_plotter_apertures.h>
Public Member Functions | |
APER_MACRO_FREEPOLY_LIST () | |
void | ClearList () |
int | AmCount () const |
void | Append (const std::vector< VECTOR2I > &aPolygon) |
append a new APER_MACRO_FREEPOLY containing the polygon aPolygon to the current list | |
int | FindAm (const std::vector< VECTOR2I > &aPolygon) const |
void | Format (FILE *aOutput, double aIu2GbrMacroUnit) |
print the aperture macro list to aOutput | |
Public Attributes | |
std::vector< APER_MACRO_FREEPOLY > | m_AMList |
Definition at line 181 of file gbr_plotter_apertures.h.
|
inline |
Definition at line 184 of file gbr_plotter_apertures.h.
|
inline |
Definition at line 188 of file gbr_plotter_apertures.h.
References m_AMList.
Referenced by Append(), GERBER_PLOTTER::EndPlot(), FindAm(), and Format().
void APER_MACRO_FREEPOLY_LIST::Append | ( | const std::vector< VECTOR2I > & | aPolygon | ) |
append a new APER_MACRO_FREEPOLY containing the polygon aPolygon to the current list
Definition at line 2062 of file GERBER_plotter.cpp.
References AmCount(), and m_AMList.
Referenced by GERBER_PLOTTER::GetOrCreateAperture().
|
inline |
Definition at line 186 of file gbr_plotter_apertures.h.
References m_AMList.
Referenced by GERBER_PLOTTER::StartPlot().
int APER_MACRO_FREEPOLY_LIST::FindAm | ( | const std::vector< VECTOR2I > & | aPolygon | ) | const |
aCandidate | is the polygon candidate to compare |
Definition at line 2068 of file GERBER_plotter.cpp.
References AmCount(), and m_AMList.
Referenced by GERBER_PLOTTER::GetOrCreateAperture(), and GERBER_PLOTTER::writeApertureList().
void APER_MACRO_FREEPOLY_LIST::Format | ( | FILE * | aOutput, |
double | aIu2GbrMacroUnit | ||
) |
print the aperture macro list to aOutput
aOutput | is the FILE to write |
aIu2GbrMacroUnit | is the scaling factor from coordinates value to the Gerber file macros units (always mm or inches) |
Definition at line 2055 of file GERBER_plotter.cpp.
References AmCount(), Format(), and m_AMList.
Referenced by GERBER_PLOTTER::EndPlot(), and Format().
std::vector<APER_MACRO_FREEPOLY> APER_MACRO_FREEPOLY_LIST::m_AMList |
Definition at line 210 of file gbr_plotter_apertures.h.
Referenced by AmCount(), Append(), ClearList(), FindAm(), and Format().