KiCad PCB EDA Suite
|
#include <geometry/shape_file_io.h>
#include <geometry/shape_line_chain.h>
#include <geometry/shape_poly_set.h>
#include <pcbnew_utils/board_file_utils.h>
#include <qa_utils/utility_registry.h>
#include <board.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_track.h>
#include <zone.h>
Go to the source code of this file.
Enumerations | |
enum | POLY_GEN_RET_CODES { LOAD_FAILED = KI_TEST::RET_CODES::TOOL_SPECIFIC } |
Functions | |
void | process (const BOARD_CONNECTED_ITEM *item, int net) |
int | polygon_gererator_main (int argc, char *argv[]) |
Variables | |
static bool | registered |
enum POLY_GEN_RET_CODES |
Enumerator | |
---|---|
LOAD_FAILED |
Definition at line 55 of file polygon_generator.cpp.
int polygon_gererator_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 61 of file polygon_generator.cpp.
References KI_TEST::BAD_CMDLINE, LOAD_FAILED, KI_TEST::OK, pad, process, and KI_TEST::ReadBoardFromFileOrStream().
void process | ( | const BOARD_CONNECTED_ITEM * | item, |
int | net | ||
) |
Definition at line 41 of file polygon_generator.cpp.
References ARC_HIGH_DEF, ERROR_OUTSIDE, BOARD_CONNECTED_ITEM::GetNetCode(), BOARD_ITEM::TransformShapeToPolygon(), UNDEFINED_LAYER, and SHAPE_FILE_IO::Write().
|
static |
Definition at line 95 of file polygon_generator.cpp.