Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

CoordinateBoundingBoxArray

CoordinateBoundingBoxArray[{{xmin,ymin,},{xmax,ymax,}}]
generates an array of {x,y,} coordinates with integer steps in each dimension.

CoordinateBoundingBoxArray[{min,max},d]
uses step d in each dimension.

CoordinateBoundingBoxArray[{min,max},{dx,dy,}]
uses steps dx, dy, in successive dimensions.

CoordinateBoundingBoxArray[{min,max},Into[n]]
divides into n equal steps in each dimension.

CoordinateBoundingBoxArray[{min,max},steps,offsets]
specifies offsets to use for each coordinate point.

CoordinateBoundingBoxArray[{min,max},steps,offsets,k]
expands the array by k elements in every direction.

DetailsDetails

  • CoordinateBoundingBoxArray gives an array of coordinates for points in a regular lattice.
  • In the default case, the sequence of values chosen in each direction is obtained by starting from the minimum value and repeatedly adding the step corresponding to that direction until the maximum value is reached.
  • When no offsets are specified, the coordinates correspond directly to the sequences of values.
  • Offsets can be given in terms of absolute distances, or by using Scaled. Scaled[1/2] puts the coordinate points at the center of every "cell".
  • Values in CoordinateBoundingBoxArray can be Quantity objects.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

A lattice of two-dimensional points:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

An array of 3D points with given discretization steps:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Return center points of the cells of the grid:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Introduced in 2015
(10.1)