Get all hexagons in a hollow hexagonal ring centered at origin with sides of a given length.Unlike kRing, this function will throw an error if there is a pentagon anywhere in the ring.

h3_hex_ring(h3Index, ringSize)

Arguments

h3Index

H3Index H3 index of center hexagon

ringSize

Number Radius of ring

Value

Array.<H3Index> - H3 indexes for all hexagons in ring

Details

Throws Error If the algorithm could not calculate the ring