get

operator fun get(direction: Int): EvenQCoordinates(source)

Retrieves neighbouring grid element in the particular direction.

Return

The neighbouring EvenQCoordinates in the specified direction.

Parameters

direction

Direction of neighbour. Should be in range 0, 5.