getDelaunaySimplices {tessellation} | R Documentation |
Delaunay simplices
Description
Get Delaunay simplices (tiles).
Usage
getDelaunaySimplices(tessellation, hashes = FALSE)
getDelaunaySimplicies(tessellation, hashes = FALSE)
Arguments
tessellation |
the output of |
hashes |
Boolean, whether to return the simplices as hash maps |
Value
The list of simplices of the Delaunay tessellation.
Examples
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)
[Package tessellation version 2.3.0 Index]