Expose APIs for creating POLYAREA from PolygonType objects and back
commit0400962a289e36dacdcc99fb36b938bb69c0a1e5
authorPeter Clifton <pcjc2@cam.ac.uk>
Sun, 6 Jun 2010 22:22:23 +0000 (6 23:22 +0100)
committerPeter Clifton <pcjc2@cam.ac.uk>
Sun, 6 Jun 2010 22:35:45 +0000 (6 23:35 +0100)
treef00299a491d4bf63c1e7f7bdf07ba380682a9434
parent183d8a3535bfaefbeb3ac5045956c7b9c9e60982
Expose APIs for creating POLYAREA from PolygonType objects and back

The PolygonPoly() API wraps polygon.c's original_poly() function,
whilst PolyToPolygonsOnLayer() converts the passed POLYAREA and all
those linked to it into discrete PolygonType objects on the board.
src/polygon.c
src/polygon.h