Skip to contents

This function returns all 6 vertex indices for a supplied H3 cell.

Usage

get_cell_vertexes(h3_address = NULL, simple = TRUE)

Arguments

h3_address

Character; 15-character cell index generated by H3. A vector of indexes can also be supplied.

simple

Logical; whether to return a vector of outputs or a data frame containing both inputs and outputs.

Value

By default, a list of length(h3_address).

Examples

# Get vertexes for this cell
get_cell_vertexes(h3_address = '86be8d12fffffff')
#> [[1]]
#> [1] "246be8d127ffffff" "256be8d107ffffff" "246be8d107ffffff" "256be8d10fffffff"
#> [5] "246be8d12fffffff" "256be8d12fffffff"
#>