Hi,
Can someone propose some alternate or additional code (to the code proposed in my last posting here) that will automatically connect the dots (dots = center points of each triplet), as shown below, to generate the correct polygons from the given points in the attached file (fpep.mat)? Note 1: The edges of each polygon must be circular arcs (we cannot use splines for this one) that connect all the center points.
Note 2: Each "triplet" will produce precesely 3 circular arcs (except for those along the outer borders).
Note 3: Each arc's initial and final slopes are given by the angle between the centerpoint and the corresponding endpoint for that arc (remember that the inital and final slopes of each arc must be equal-and-opposite; so, the "starting" and "landing" angles must be averaged).
The coords of each endpoint are contained in the first 6 columns of the attached file (fpep.mat) and the coords of the center points are contained in the last two columns.
Once again, I'm excited to see what you can come up with. Thanks in advance for your help!
5 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/490852-can-someone-propose-some-code-that-will-connect-the-dots-using-circular-arcs#comment_767222
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/490852-can-someone-propose-some-code-that-will-connect-the-dots-using-circular-arcs#comment_767222
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/490852-can-someone-propose-some-code-that-will-connect-the-dots-using-circular-arcs#comment_768232
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/490852-can-someone-propose-some-code-that-will-connect-the-dots-using-circular-arcs#comment_768232
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/490852-can-someone-propose-some-code-that-will-connect-the-dots-using-circular-arcs#comment_768236
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/490852-can-someone-propose-some-code-that-will-connect-the-dots-using-circular-arcs#comment_768236
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/490852-can-someone-propose-some-code-that-will-connect-the-dots-using-circular-arcs#comment_768257
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/490852-can-someone-propose-some-code-that-will-connect-the-dots-using-circular-arcs#comment_768257
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/490852-can-someone-propose-some-code-that-will-connect-the-dots-using-circular-arcs#comment_768290
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/490852-can-someone-propose-some-code-that-will-connect-the-dots-using-circular-arcs#comment_768290
Sign in to comment.