Main Content
boundary
Vertex coordinates of polyshape
boundary
Description
[
returns the x-coordinates and the
y-coordinates of each boundary of a x
,y
] = boundary(polyin
)polyshape
.
The vectors x
and y
contain the list of
coordinates for each boundary, delimited by NaN
. The
boundary
function automatically appends the first vertex
coordinates of polyin
to the end of x
and
y
to close the polygon.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2017b
See Also
polyshape
| sortboundaries
| rmboundary
| addboundary
| numboundaries