Flash ActionScript3 (AS3) port for Clipper (a Polygon Clipping Library by Angus Johnson)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


An AS3 Flash port of the marvelous Polygon Clipping library by Angus Johnson. 

This AS3 port was created by Chris Denham <c.m.denham{-at-}gmail.com>
The translation is derived directly from the Clipper Library C# version as 
at version 4.8.8, available from the above address. This AS3 port may not be 
complete in some respects, and has not had extensive testing, but it does 
function correctly for simple examples tried so far. Also beware that this 
port only uses 32 bit integer arithmetic whereas the original C# code uses 
64 and 128 bit integer arithmetic. This means you will need to restrict
poly vertex coordinates for this implementation to 16 bit range.

Suggestions for changes and fixes are welcomed, though not necessarily acted upon. ;-)

This port was originally inspired by the AS3 Flash module written by 
Ari Arnbjörnsson <ari{-at-}flassari.is> that wraps the Clipper library 
more directly via Adobe Alchemy/FlasCC, which can be downloaded from:
Ari's Alchemy based wrapper may offer more completeness and better performance, 
but beware of potential licensing restrictions imposed by Adobe for content using 
so called "Premium Features" (which appears to include FlasCC), for info: