def h3_line(origin, destination)
      max_hexagons = h3_line_size(origin, destination)
      hexagons = H3Indexes.of_size(max_hexagons)
      res = Bindings::Private.h3_line(origin, destination, hexagons)
      raise(ArgumentError, "Could not compute line") if res.negative?
      hexagons.read
    end
def h3_line(origin, destination)
      max_hexagons = h3_line_size(origin, destination)
      hexagons = H3Indexes.of_size(max_hexagons)
      res = Bindings::Private.h3_line(origin, destination, hexagons)
      raise(ArgumentError, "Could not compute line") if res.negative?
      hexagons.read
    end
Derives the H3 indexes found in a line between an origin H3 index
 and a destination H3 index (inclusive of origin and destination).

 @param [Integer] origin Origin H3 index.
 @param [Integer] destination Destination H3 index.

 @example Derive the indexes found in a line.
   H3.h3_line(617700169983721471, 617700169959866367)
   [
     617700169983721471, 617700169984245759, 617700169988177919,
     617700169986867199, 617700169987391487, 617700169959866367
   ]

 @raise [ArgumentError] Could not compute line

 @return [Array<Integer>] H3 indexes