CoordinateBounds

CoordinateBounds[coords]

gives a list {{xmin,xmax},{ymin,ymax},} of the bounds in each dimension of the region defined by coords.

CoordinateBounds[coords,δ]

pads the ranges of coordinates by ±δ in each dimension.

CoordinateBounds[coords,Scaled[s]]

pads by the scaled amount s in each dimension.

CoordinateBounds[coords,{p1,p2,}]

pads by p1, p2, in successive dimensions.

CoordinateBounds[coords,{{p1min,p1max},{p2min,p2max},]

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

Details

Examples

open allclose all

Basic Examples  (1)

Find bounds for coordinates in 2 dimensions:

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

Pad by 1 in each direction:

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

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

In[3]:=
Click for copyable input
Out[3]=

Scope  (1)

Generalizations & Extensions  (1)

Properties & Relations  (2)

See Also

CoordinateBoundingBox  MinMax  RegionBounds  GeoBounds  Between

Introduced in 2015
(10.1)