A routine for fitting an unknown sequence of circular arcs and segments to an indexed set of dots.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This code is related to the method described on the publication "Polyline defined NC trajectories parametrization. A compact analysis and solution focused on 3D Printing." by Honorio Salmerón Valdivieso.
It also makes direct use of the code published by Taubin in https://es.mathworks.com/matlabcentral/fileexchange/22678-circle-fit-taubin-method
It simply finds an efficient distribution of arcs matching some tolerance requirements and merges them with the source polyline.
Cite As
Honorio Salmeron (2026). Polyline approximation with arcs and segments. (https://nl.mathworks.com/matlabcentral/fileexchange/68439-polyline-approximation-with-arcs-and-segments), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Fit circle through 3 points, Circle Fit (Taubin method)
General Information
- Version 1.0.1 (24.8 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
