earcut 0.3.2

A Rust port of the Earcut polygon triangulation library
Documentation
earcut-0.3.2 has been yanked.

earcut-rs

Test codecov Crates.io Version

A Rust port of the mapbox/earcut polygon triangulation library, implemented from scratch with some reference to donbright/earcutr.

  • Based on the latest earcut 2.2.4 release.
  • Designed to avoid unnecessary memory allocations. You can reuse the internal buffer and the output index vector.
  • (Experimental) An additional module, utils3d, can rotate polygons from 3D to 2D space before triangulation.
  • License: ISC