PolygonData:
- removed all polygon winding order handling
- added polygon chain ID to segments, nbPolyChains()
new optimise_randomlist(): ensures that trapezoidation starts with one random segment from each polygon chain
BasicTriangulator: extract of core triangulation from Three.js, initial commit
bugfix unix path
BasicTriangulator: adapted to PolygonData structure (double linked list)
initial intagration of BasicTriangulator into Triangulator for all polygons without holes
BasicTriangulator:
- renamed triangulate_single_polygon -> triangulate_polygon_no_holes
- removed parameter from triangulate_polygon_no_holes
MonoTriangulator: renamed triangulate_single_polygon ->
triangulate_monotone_polygon
triangulate_polygon:
- para to force trapezoidation
- trapezoidation, if BasicTriangulator fails
test case where BasicTriangulator is "unable to triangulate"
triang_pnltri_js_compare.html: cleaned up
BasicTriangulator: refactored to use doubly linked list
PolygonData: new getFirstSegment, isClockWise
drawPolygonLayers: new optional parameters for x/y-offset
renamed: BasicTriangulator -> EarClipTriangulator
EarClipTriangulator: performance comparison with old array based version
Version 1.0