Grid
ABSTRACT
The Grid function positions a set of meshes along a grid.
PARAMETERS
mesh_array | a vector of vector of mesh-trees (row major). All subvectors need not be of the same length, however the number of generated columns is equal to longest subvector, and the number of columns is the number of such subvectors. Each mesh-tree is placed in its appropriate location in the grid, and the width of each column is the maximum over all such mesh-trees in the column, and similary for heights of a row. There is a small buffer that is added automatically. |
RETURN
Generates a grid pattern by arranging the provided meshes in a grid formation. The return value is the resulting grid mesh.
DECLARATION
func Grid(mesh_array)