← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] No more boost::polygon in Kicad

 

On 21.08.2015 23:15, Mário Luzeiro wrote:
> Hi Tomasz, all,
> 
> after remove boost, I also noted that you remove ExportTo functions.
> Are there any way (already implemented) that I can export to a ClipperLib::Paths ?

Hi Mario,

SHAPE_POLY_SET internally uses ClipperLib::Paths. Please don't use this
structure directly in Kicad code, if there's any missing functionality,
extend SHAPE_POLY_SET instead. It will save us time in the future if
we'll decide to go for yet another polygon library (or use a bit of one
and a bit of another).

Tom


> 
> Mario
> ________________________________________
> From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx] on behalf of Tomasz Wlostowski [tomasz.wlostowski@xxxxxxx]
> Sent: 13 July 2015 23:46
> To: Kicad Developers
> Subject: [Kicad-developers] [PATCH] No more boost::polygon in Kicad
> 



Follow ups

References