public static PointF[] FromPosition(float width, float row, float col)
float height = 2 * width / (float)Math.Sqrt(3);
float leftX = col * width + width / 2 * (row % 2);
float topY = row * height;
new PointF(leftX + width / 2, topY),
new PointF(leftX + width, topY + height / 4),
new PointF(leftX + width, topY + height / 4 * 3),
new PointF(leftX + width / 2, topY + height),
new PointF(leftX, topY + height / 4 * 3),
new PointF(leftX, topY + height / 4),
public static void Main()