Remove old src/init.c partially manual registration.
Updated Mapbox earcut.hpp source (to commit 6d18edf0ce046023a7cb55e69c4cd9ba90e2c716). See inst/earcut_source.R.
Created decido.hpp header file for linking from other packages, contributed by David Cooley.
Updated minimum R version to 3.2.5, after actually checking.
Increased automated test coverage of underlying library code.
Fixed a memory bug, thanks to CRAN checks.
Cleaned up some Rcpp defaults.
Updated readme.
Move oz to Suggests.
Modified description based on advice from CRAN.
earcut
is now generic, with a default argument that
operates on matrix, list or data frame inputs - future extensions may
dispatch on class of single xy argument.
Breaking change, all R functions now have xy
as
first argument, no more x
or y
as separate
vectors. xy maybe a matrix, a list, or a dataframe.
Added a vignette and more complete documentation.
Added helper functions plot_holes
and
plot_ears
to wrap calls to polypath for polygon plot and
triangle plot respectively, using the same style as function
earcut
.
Modified to use 1-based indexing always at R level, and wrapped
internal function earcut_cpp with R level earcut
with
checks on inputs.
Removed need for numholes
argument.
Fixed immense logic bug, not sure how it was working at all before.
Fixed file naming and declarations, thanks to Andrew Smith.
Added support for holes via
earcut(x, y, holes = , numholes = )
.
First implementation from basic template.