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

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.