Skip to content

sortboundaries

geometry · scripts/geometry/sortboundaries.m

SORTBOUNDARIES  Sort boundary curves by length / id (MATLAB compat).
  GitLab %257

  B = sortboundaries (B)
  B is a cell of Nx2 polygons, or a numeric matrix treated as one.