Skip to content

decido

Bindings for 'Mapbox' Ear Cutting Triangulation Library

v0.4.0 · Nov 27, 2025 · MIT + file LICENSE

Description

Provides constrained triangulation of polygons. Ear cutting (or ear clipping) applies constrained triangulation by successively 'cutting' triangles from a polygon defined by path/s. Holes are supported by introducing a bridge segment between polygon paths. This package wraps the 'header-only' library 'earcut.hpp' <https://github.com/mapbox/earcut.hpp> which includes a reference to the method used by Held, M. (2001) <doi:10.1007/s00453-001-0028-4>.

Downloads

2.5K

Last 30 days

2665th

9.2K

Last 90 days

48.6K

Last year

Trend: -3.4% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (4)

suggests

Dependency Network

Dependencies Reverse dependencies Rcpp raybevel rayrender silicate eplusr decido

Version History

new 0.4.0 Mar 10, 2026
updated 0.4.0 ← 0.3.0 diff Nov 27, 2025
updated 0.3.0 ← 0.2.0 diff May 18, 2020
updated 0.2.0 ← 0.1.0 diff Aug 21, 2018
new 0.1.0 Mar 12, 2018