Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: string ConvertCoordinates(int)

  • Declared in: RT.Coordinates.Hex

Declaration

public string ConvertCoordinates(
    int sideLength
)

Summary

Returns a string representing this hex tile’s position within a Hex.LargeHexagon(int, Hex) structure in a more human-intuitive (but mathematically unhelpful) format. The first coordinate identifies a column of hexes, counting from 1 on the far left of the grid. The second specifies the position of the hex within that column, counting from 1 at the top.

Parameters

intsideLength The side length of the hexagonal grid.