union
Description
calculates the geometric union of the specified point, line, or polygon shapes.shapeout = union(shape1)
When you specify point shapes, the union is a point shape that contains all the points in
shape1.When you specify line shapes, the union is a line shape that contains all the line parts in
shape1.When you specify polygon shapes, the union is a polygon shape that combines the polygon regions in
shape1.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2025a



