X returns the coordinate for the column at the index c. It will panic if c is out of bounds for the grid.
(c int)
| 25 | // X returns the coordinate for the column at the index c. |
| 26 | // It will panic if c is out of bounds for the grid. |
| 27 | X(c int) float64 |
| 28 | |
| 29 | // Y returns the coordinate for the row at the index r. |
| 30 | // It will panic if r is out of bounds for the grid. |