← Back to team overview

kicad-developers team mailing list archive

about GPC replacement in pcbnew.

 

I am trying to evaluate a replacement of the GPC library:
The "boolean" library is very interesting ( from the project named: Boolean: GDSII viewer/editor + (boolean) operations on sets of 2d polygons)..
(see http://boolean.klaasholwerda.nl/bool.html)
This is a library having similar (and more...) possibilities.
It is written in C++ and widely commented.
files seems under wxWidgets license (with a very acceptable requirement: show the version number and a link to the "boolean" site in the about box of the application). And kbool (the name of the library for 2 D polygon operations) is designed as a stand alone library, not a part of a large project.
So, it can be used "as this".

I tried the php_polygon library existing in freepcb.
It does not work very well.

The CGAL polygon library seem a good library, but is under QPL licence and incompatible with the GPL license

The polygon1.c file from gpcb uses algos from the OSSIM project (LGPL)
but it is written in C, and not very well documented.
(the last version of OSSIM project is now written in C++)

--
Jean-Pierre CHARRAS
Maître de conférences
Directeur d'études 2ieme année.
Génie Electrique et Informatique Industrielle 2
Institut Universitaire de Technologie 1 de Grenoble
BP 67, 38402 St Martin d'Heres Cedex

Recherche :
Grenoble Image Parole Signal Automatique (GIPSA - INPG)
46, Avenue Félix Viallet
38031 Grenoble Cedex






Follow ups