dist_to_boundary | R Documentation |
Given a point set and an alpha-shape, get the distance of each point to the closest boundary point of the alpha-shape. Points inside the shape get negative values.
dist_to_boundary(points, shape)
points |
a data frame with x,y,z columns |
shape |
an object of class ashape3d with a single alpha value |
vector of distances (negative values indicate points inside the shape)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.