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. This package wraps the 'header-only' library 'earcut.hpp' https://github.com/mapbox/earcut.hpp.

Author

Maintainer: Michael Sumner mdsumner@gmail.com

Other contributors:

  • Andrew Smith (provided C++ guidance) [contributor]

  • Mapbox (author of header library earcut.hpp) [copyright holder]

  • Mark Padgham (help with CRAN issues) [contributor]

  • David Cooley (added header capability for linking from other packages) [contributor]