Download List

Project Description

polygon is a set of PHP classes that can be used
to perform different types of geometric operations
with arbitary polygons. It provides generic
polygon and vertex classes that support mixing
lines and arc segments between vertices. Polygons
may be self-intersecting, convex, or concave. It
provides means to perform intersection and union
operations with the shapes and to compute shape
clipping.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2010-05-17 10:15 Back to release list
1.6

This release adds scale() and translate() methods. It modifies move(), rotate(), and bRect() methods to correctly handle Polygon lists. It fixes a bug in how the perturb function is called. It was being incorrectly called for intersections between lines when the intersection occurred outside the line segments. It adds some more examples of degenerate vertices in the polyExample.php file, and adds a section in the readme file about the degenerate vertex issue.

Project Resources