getIcosahedronFaces {h3r}R Documentation

Get Icosahedron Faces

Description

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.

Usage

getIcosahedronFaces(cell)

Arguments

cell

vector of H3 cells

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"))

getIcosahedronFaces(cell = cellToParent(c("8cbe63562a54bff" ,"8cbe635631103ff"), c(7L, 7L)))


[Package h3r version 0.1.1 Index]