decompose()
now passes through all other columns on the data.frame. However,
the value in each column is enforced as a single unique value across the
group
i.e. you cannot have different values at different vertices within
a single polygon group
.polyclip::polysimplify()
for duplicated vertices. Resurrecting that code from v0.1.5.polyclip
package is now only used for pointinpolygon()
calculationpolyclip::polysimplify()
if there are duplicated vertices,
otherwise, all test examples work with RTriangle::triangulate()
without
any other processing.accetpable
column in triangles_df
returned by decompose()
.acceptable = interior & !too_thin
too_thin
indicates triangles in which the centroid lies on the
boundary, which makes them impossibly thinpolyclip::polysimplify()
with RTriangle::triangulate()
to now
cope with:polyclip
package for point-in-polygon calculations.
Removed bespoke point-in-polygon R functions from this package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.