hullSummary | R Documentation |
Summary of a triangulated 3D convex hull
hullSummary(hull)
hull |
an output of |
A list with the vertices and the facets.
library(cxhull)
# pyramid
pts <- rbind(
c(0, 0, 0),
c(1, 0, 0),
c(1, 1, 0),
c(0.5, 0.5, 1),
c(0.5, 0.5, 0.9),
c(0, 1, 0)
)
hull <- cxhull(pts, triangulate = TRUE)
hullSummary(hull)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.