Bounding box of polyshape
[
returns the x and y bounds of the smallest
rectangle enclosing a xlim,ylim] = boundingbox(polyin)polyshape. xlim and
ylim are two-element row vectors whose first elements
correspond to the lower x and y bounds, and
whose second elements correspond to the upper x and
y bounds.
When polyin is an array of polyshape
objects, xlim and ylim describe the bounding
box enclosing all polyshape elements of
polyin.