Skip to main content

CommonGenerateGridCoords

Callable


  • Automatically generate grid coordinates based on parameters.

    @see

    Parameters

    • nItems: number

      The upper bound to the number of grid points; fewer can be returned if they do not all fit on the grid

    • grid: CommonGenerateGridParameters

      The grid parameters

    Returns RectTuple[]

    • A list of grid coordinates with a length of <= nItems