Main Content
boundingbox
Bounding box of polyshape
Description
[
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
.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2017b