KiCad PCB EDA Suite
Loading...
Searching...
No Matches
extract_zone_fills.cpp File Reference
#include <geometry/shape_poly_set.h>
#include <pcbnew_utils/board_file_utils.h>
#include <qa_utils/utility_registry.h>
#include <board.h>
#include <zone.h>
#include <layer_ids.h>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include <vector>

Go to the source code of this file.

Functions

static std::string SerializePolySet (const SHAPE_POLY_SET &aPolySet)
 
static void CollectBoardFiles (const fs::path &aPath, std::vector< fs::path > &aOut)
 
static int extract_zone_fills_main (int argc, char *argv[])
 

Variables

static bool registered
 

Function Documentation

◆ CollectBoardFiles()

static void CollectBoardFiles ( const fs::path & aPath,
std::vector< fs::path > & aOut )
static

Definition at line 67 of file extract_zone_fills.cpp.

Referenced by extract_zone_fills_main().

◆ extract_zone_fills_main()

static int extract_zone_fills_main ( int argc,
char * argv[] )
static

◆ SerializePolySet()

static std::string SerializePolySet ( const SHAPE_POLY_SET & aPolySet)
static

Variable Documentation

◆ registered

bool registered
static
Initial value:
"extract_zone_fills",
"Extract zone fill polygons from boards for triangulation benchmarking",
} )
static bool Register(const KI_TEST::UTILITY_PROGRAM &aProgInfo)
Register a utility program factory function against an ID string.
static int extract_zone_fills_main(int argc, char *argv[])

Definition at line 207 of file extract_zone_fills.cpp.