KiCad PCB EDA Suite
Loading...
Searching...
No Matches
poly_set_construction.h File Reference

Utilities for creating useful polygon shapes that are commonly found in QA utilities and tests. More...

Go to the source code of this file.

Namespaces

namespace  KI_TEST
 

Functions

SHAPE_POLY_SET KI_TEST::BuildPolyset (const std::vector< SHAPE_LINE_CHAIN > &aOutlines)
 Construct a SHAPE_POLY_SET from a list of points for each of outlines (no holes)
 
SHAPE_POLY_SET KI_TEST::BuildHollowSquare (int aOuterSize, int aInnerSize, const VECTOR2I &aCentre={ 0, 0 })
 Build a SHAPE_POLY_SET in the shape of a square outline, with a square hole, both centred at the given point.
 

Detailed Description

Utilities for creating useful polygon shapes that are commonly found in QA utilities and tests.

Definition in file poly_set_construction.h.