hxGeomAlgo icon indicating copy to clipboard operation
hxGeomAlgo copied to clipboard

Small collection of computational geometry algorithms in Haxe.

Results 2 hxGeomAlgo issues
Sort by recently updated
recently updated
newest added

Added a method decomposeSelfIntersecting which will decompose specified polygon into an array of simple polygons. Its just a first draft out of my mind with possible optimizations, I didn't use...

This polygon is not correctly decomposed by SnoeyinkKeil (it's a particular of `big.png` test image): ![big_particular](https://cloud.githubusercontent.com/assets/1266447/15912798/c46fa3a0-2dd6-11e6-8916-6cd0ab11d8d4.png) decomp: ![vis_issue](https://cloud.githubusercontent.com/assets/1266447/15913279/45a71212-2dd9-11e6-9fcc-19c81d124932.png) poly points: ``` haxe poly = [32,3, 18,9, 16,9, 17,6, 14,8, 9,4,...