getIcosahedronFaces: Get Icosahedron Faces

View source: R/inspection.R

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


h3r documentation built on April 3, 2025, 10:47 p.m.