Dims returns the dimensions of the grid.
()
| 17 | type FieldXY interface { |
| 18 | // Dims returns the dimensions of the grid. |
| 19 | Dims() (c, r int) |
| 20 | |
| 21 | // Vector returns the value of a vector field at (c, r). |
| 22 | // It will panic if c or r are out of bounds for the field. |