hextraj.redblobhex_array#
Attributes#
Classes#
Functions#
|
|
|
|
|
|
|
Module Contents#
- hextraj.redblobhex_array.INTNaN = 0#
- class hextraj.redblobhex_array.Hex#
Bases:
NamedTuple- q: numpy.typing.NDArray#
- r: numpy.typing.NDArray#
- s: numpy.typing.NDArray#
- class hextraj.redblobhex_array.Orientation#
Bases:
NamedTuple
- hextraj.redblobhex_array.orientation_pointy#
- hextraj.redblobhex_array.orientation_flat#
- class hextraj.redblobhex_array.Layout#
Bases:
NamedTuple- orientation: Orientation#
- hextraj.redblobhex_array.hex_corner_offset(layout, corner)#
- hextraj.redblobhex_array.hex_to_pixel(layout, h)#
- hextraj.redblobhex_array.pixel_to_hex(layout, p)#