LayeredGrid2D Module
Functions and values
| Function or value |
Description
|
|
Creates a new, empty layered grid container. No memory is allocated for layers until they are accessed.
|
Full Usage:
getOrAddLayer index grid
Parameters:
int
grid : LayeredGrid2D<'T>
Returns: CellGrid2D<'T> * LayeredGrid2D<'T>
|
Retrieves (or creates) the grid for a specific layer. Note: This mutates the internal dictionary in-place.
|
Mibo