Bindings for 'Mapbox' Ear Cutting Triangulation Library

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' <> which includes a reference to the method used by Held, M. (2001) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.0 by Michael Sumner, 6 days ago

Browse source code at

Authors: Michael Sumner [aut, cre], Andrew Smith [ctb] (provided C++ guidance), Mapbox [cph] (author of header library earcut.hpp)

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports Rcpp, oz

Suggests covr, testthat, knitr, rmarkdown

Linking to Rcpp

System requirements: C++11

See at CRAN