R/h3_traversal.R
k_ring_distances.Rd
Get all hexagons in a k-ring around a given center ordered by distance from the origin.
k_ring_distances(h3_index, radius = 1)
h3_index | character vector of H3 indexes |
---|---|
radius | number of rings around the given center |
tibble with 2 variables: h3_index
and distance
The order of the hexagons within each ring is undefined.