gives the corners {{xmin,ymin,},{xmax,ymax,}} of the bounding box of the region defined by coords.


pads the region by δ in each direction.


pads by the scaled amount s in each direction.


pads by p1, p2, in successive dimensions.


gives {{xmin-p1min,ymin-p2min,},{xmax+p1max,ymax+p2max,},}



open allclose all

Basic Examples  (1)

Find a bounding box for coordinates in 2 dimensions:

Pad by 1 in each direction:

Pad by 1/4 of the span in each dimension:

Scope  (1)

Coordinates in 3D of different types at various levels in a list:

Find the bounding box:

Pad by 1 in each dimension:

Pad by a fraction of the difference in each dimension:

Pad by different amounts for different dimensions:

Pad the minima and maxima differently:

Generalizations & Extensions  (1)

When there are coordinates that are not numerical, the result is typically expressed in terms of Min and Max:

Properties & Relations  (2)

Generally, CoordinateBoundingBox[coords] is the transpose of CoordinateBounds[coords]:

For coordinates given in a matrix, CoordinateBoundingBox[coords] is equivalent to Transpose[Map[MinMax,Transpose[coords]]]:

Introduced in 2015