Find all icosahedron faces intersected by a given H3 index. Faces are represented as integers from 0-19, inclusive. The array is sparse, and empty (no intersection) array values are represented by -1.
Value
list of vectors. Each list element corresponds to the input cell
values.
Each vector in a list element gives the faces intersected by the cell
Examples
getIcosahedronFaces(cell = c("8cbe63562a54bff","8cbe635631103ff"))
#> $`8cbe63562a54bff`
#> [1] 15
#>
#> $`8cbe635631103ff`
#> [1] 15
#>
getIcosahedronFaces(cell = cellToParent(c("8cbe63562a54bff" ,"8cbe635631103ff"), c(7L, 7L)))
#> $`87be63562ffffff`
#> [1] 15
#>
#> $`87be63563ffffff`
#> [1] 15
#>