Main Content

polycut

Polygon branch cuts for holes

Syntax

[lat2,long2] = polycut(lat,long)

Description

[lat2,long2] = polycut(lat,long) connects the contour and holes of polygons using optimal branch cuts. Polygons are input as NaN-delimited vectors, or as cell arrays containing individual polygons in each element with the outer face separated from the subsequent inner faces by NaNs. Multiple polygons outputs are separated by NaNs.

Version History

Introduced before R2006a