/* * file polygons_defs.h * definitions to use boost::polygon in KiCad. */ #ifndef _POLYGONS_DEFS_H_ #define _POLYGONS_DEFS_H_ #include // Define some types used here from boost::polygon namespace bpl = boost::polygon; // bpl = boost polygon library using namespace bpl::operators; // +, -, =, ... typedef int coordinate_type; typedef bpl::polygon_data KPolygon; typedef std::vector KPolygonSet; typedef bpl::point_data KPolyPoint; #endif // #ifndef _POLYGONS_DEFS_H_