Polygon branch cuts for holes


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


[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.

Was this topic helpful?