Convert Set of (x,y) Coordinates Into Polygon
I converted the attached coordinates (x,y) into an alphashape. See image.
shp = alphaShape(coordinates(:,1),coordinates(:,2),’HoleThreshold’,50);
What I need are the coordinates at the polygon vertices (shown in red), and importantly, in the proper order shown with the numbers. I would like to be able to use the polyshape function next…
I have toyed with boundaryfacet, delauney but with no luck.
Any suggestions?
Thanks.I converted the attached coordinates (x,y) into an alphashape. See image.
shp = alphaShape(coordinates(:,1),coordinates(:,2),’HoleThreshold’,50);
What I need are the coordinates at the polygon vertices (shown in red), and importantly, in the proper order shown with the numbers. I would like to be able to use the polyshape function next…
I have toyed with boundaryfacet, delauney but with no luck.
Any suggestions?
Thanks. I converted the attached coordinates (x,y) into an alphashape. See image.
shp = alphaShape(coordinates(:,1),coordinates(:,2),’HoleThreshold’,50);
What I need are the coordinates at the polygon vertices (shown in red), and importantly, in the proper order shown with the numbers. I would like to be able to use the polyshape function next…
I have toyed with boundaryfacet, delauney but with no luck.
Any suggestions?
Thanks. alphashape, polyshape, boundary MATLAB Answers — New Questions