Skip to content

Releases: mapbox/delaunator

v2.0.1

28 Aug 12:33
Compare
Choose a tag to compare

Accept plain (non-typed) arrays in Delaunator constructor.

v2.0.0

23 Mar 09:12
Compare
Choose a tag to compare

⚠️ breaking: Delaunator constructor now accepts a typed flat array of coordinates:

const coords = new Float64Array(x0, y0, x1, y1, ...);
const delaunay = new Delaunator()

For the old constructor behavior, use Delaunator.from:

const delaunay = Delaunator.from([[10, 10], [20, 20], ...]);

🍏 Delaunator can now be used as a ES module in environments that support them:

import Delaunator from 'delaunator';

v1.0.5

27 Nov 16:06
Compare
Choose a tag to compare
  • Add browser builds and CDN links (thanks @mbostock)
  • Support default export in environments with ES modules
  • A tiny performance improvement

v1.0.4

08 Aug 22:08
Compare
Choose a tag to compare

Fixed an issue where halfedges structure would get invalid in rare cases. #11

v1.0.3

02 Jun 16:55
Compare
Choose a tag to compare
  • Expose delaunay.halfedges array for traversing the triangulation.
  • Improve documentation.

v1.0.2

18 May 12:40
Compare
Choose a tag to compare

~2x performance improvement! See #3

v1.0.1

17 May 13:53
Compare
Choose a tag to compare
  • ~17% faster triangulation.
  • delaunay.triangles now returns a Int32Array instead of Array.

v1.0.0

17 May 13:50
Compare
Choose a tag to compare

First release.