51    shapeIo.
Write( &pset );
 
 
   76    for( 
unsigned net = 0; net < brd->GetNetCount(); net++ )
 
   83            for( 
PAD* 
pad : fp->Pads() )
 
   87        for( 
ZONE* zone : brd->Zones() )
 
 
   97        "Dump board geometry as a set of polygons",
 
General utilities for PCB file IO for QA programs.
 
A base class derived from BOARD_ITEM for items that can be connected and have a net,...
 
virtual void TransformShapeToPolygon(SHAPE_POLY_SET &aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=false) const
Convert the item shape to a closed polygon.
 
Helper class for saving/loading shapes from a file.
 
void Write(const SHAPE *aShape, const std::string &aName="<noname>")
 
Represent a set of closed polygons.
 
static bool Register(const KI_TEST::UTILITY_PROGRAM &aProgInfo)
Register a utility program factory function against an ID string.
 
Handle a list of polygons defining a copper zone.
 
std::unique_ptr< BOARD > ReadBoardFromFileOrStream(const std::string &aFilename, std::istream &aFallback)
Read a board from a file, or another stream, as appropriate.
 
@ TOOL_SPECIFIC
Tools can define their own statuses from here onwards.
 
@ BAD_CMDLINE
The command line was not correct for the tool.
 
static PGM_BASE * process
 
int polygon_gererator_main(int argc, char *argv[])