new Delaunay()
based on:
http://paulbourke.net/papers/triangulate/
http://www.travellermap.com/tmp/delaunay.htm (original code)
https://github.com/ironwallaby/delaunay/blob/master/delaunay.js
http://www.amazon.com/Computational-Geometry-Applications-Mark-Berg/dp/3642096816
- Source:
Methods
(static) triangulate(vertices)
Performs Delaunay triangulation.
Parameters:
Name | Type | Description |
---|---|---|
vertices |
a list of 2d vertices.
Can be SQR.V2, SQR.V3 or any object that has |
- Source:
Returns:
a list of SQR.Triangles