KiCad PCB EDA Suite
Loading...
Searching...
No Matches
polygon_triangulation.cpp File Reference
#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 <core/ignore.h>
#include <zone.h>
#include <core/profile.h>
#include <atomic>
#include <thread>
#include <unordered_set>
#include <utility>

Go to the source code of this file.

Enumerations

enum  POLY_TRI_RET_CODES { LOAD_FAILED = KI_TEST::RET_CODES::TOOL_SPECIFIC }
 

Functions

void unfracture (SHAPE_POLY_SET::POLYGON *aPoly, SHAPE_POLY_SET::POLYGON *aResult)
 
int polygon_triangulation_main (int argc, char *argv[])
 

Variables

static bool registered
 

Enumeration Type Documentation

◆ POLY_TRI_RET_CODES

Enumerator
LOAD_FAILED 

Definition at line 202 of file polygon_triangulation.cpp.

Function Documentation

◆ polygon_triangulation_main()

int polygon_triangulation_main ( int  argc,
char *  argv[] 
)

Definition at line 208 of file polygon_triangulation.cpp.

References LOAD_FAILED, and KI_TEST::ReadBoardFromFileOrStream().

◆ unfracture()

Variable Documentation

◆ registered

bool registered
static
Initial value:
"polygon_triangulation",
"Process polygon triangulation on a PCB",
} )
static bool Register(const KI_TEST::UTILITY_PROGRAM &aProgInfo)
Register a utility program factory function against an ID string.
int polygon_triangulation_main(int argc, char *argv[])

Definition at line 278 of file polygon_triangulation.cpp.