Mapping Toolbox    
polyjoin

Convert polygon segments from cell array to vector format.

Syntax

Description

[lat,lon] = polyjoin(latcells,loncells) converts polygons from cell array format to vector format. In cell array format, each element of the cell array is a separate polygon. Each polygon may consist of an outer contour followed by holes separated with NaNs. In vector format, each vector may contain multiple faces separated by NaNs. There is no distinction between outer contours and holes.

Example

See Also

polyboolPerform polygon boolean operations

polycutImplement polygon branch cuts for holes

polysplitExtract segments of NaN-delimited polygon vectors to cell
    arrays


  polybool polymerge