Main Content
isShapeMultipart
True if polygon or line has multiple parts
Syntax
tf = isShapeMultipart(xdata, ydata)
Description
tf = isShapeMultipart(xdata, ydata)
returns 1
(true
)
if the polygon or line shape specified by xdata
and ydata
consists
of multiple NaN
-separated parts (i.e. has inner
or multiple polygon rings or multiple line segments). The coordinate
arrays xdata
and ydata
must
match in size and have identical NaN
locations.
Examples
Version History
Introduced in R2006a