CodePudding user response:
Find two articles:Point by point comparison method in a straight line and arc interpolation algorithm and realization https://blog.csdn.net/whocarea/article/details/84991961
In c + + simulation of linear interpolation and circular interpolation https://blog.csdn.net/z893345329/article/details/25922857