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)
h3Index |
|
---|---|
ringSize |
|
Array.<H3Index>
- H3 indexes for all hexagons in ring
Throws Error
If the algorithm could not calculate the ring