pixel To Hex
Converts a point in pixel coordinates to hexagonal coordinates. This is done by first normalizing the point's coordinates relative to the layout's origin and size, then applying the layout's orientation matrix to the normalized coordinates.
Return
The point in hexagonal coordinates.
Parameters
layout
The layout of the hexagonal grid.
point
The point in pixel coordinates.