Description Usage Arguments Value Author(s) Examples
Compute area, perimeter and centroid of an 2d convex hull.
1 2 3 4 | get_2d_chull(
input_cloud = data.frame(x = runif(20), y = runif(20)),
plot = FALSE
)
|
input_cloud |
A file or data.frame containing x and y points. If file, it assumes first three columns to be x y z without header. Futher columns are ignored. |
plot |
Should the convex hull be plotted. Default to FALSE. |
A data.frame containing: area, perimeter, cpa_cen_x, cpa_cen_y.
Matthias Kunz, last updated: 27.04.2019
1 | get_2d_chull(data.frame(x=runif(20),y=runif(20)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.