getDelaunaySimplices | R Documentation |
Get Delaunay simplices (tiles).
getDelaunaySimplices(tessellation, hashes = FALSE)
getDelaunaySimplicies(tessellation, hashes = FALSE)
tessellation |
the output of |
hashes |
Boolean, whether to return the simplices as hash maps |
The list of simplices of the Delaunay tessellation.
library(tessellation)
pts <- rbind(
c(-5, -5, 16),
c(-5, 8, 3),
c(4, -1, 3),
c(4, -5, 7),
c(4, -1, -10),
c(4, -5, -10),
c(-5, 8, -10),
c(-5, -5, -10)
)
tess <- delaunay(pts)
getDelaunaySimplices(tess)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.