30#ifndef QA_UTILS_GEOMETRY_POLY_SET_CONSTRUCTION__H 
   31#define QA_UTILS_GEOMETRY_POLY_SET_CONSTRUCTION__H 
   44SHAPE_POLY_SET 
BuildPolyset( 
const std::vector<SHAPE_LINE_CHAIN>& aOutlines );
 
   55        int aOuterSize, 
int aInnerSize, 
const VECTOR2I& aCentre = { 0, 0 } );
 
Utilities for creating useful line chain idioms commonly founds in QA utilities and tests.
 
SHAPE_POLY_SET BuildHollowSquare(int aOuterSize, int aInnerSize, const VECTOR2I &aCentre)
Build a SHAPE_POLY_SET in the shape of a square outline, with a square hole, both centred at the give...
 
SHAPE_POLY_SET BuildPolyset(const std::vector< SHAPE_LINE_CHAIN > &aOutlines)
Construct a SHAPE_POLY_SET from a list of points for each of outlines (no holes)
 
VECTOR2< int32_t > VECTOR2I