Calculate the arclength, curve length of a cubic bezier curve. Why is not working?

两盒软妹~` 提交于 2019-12-04 13:49:05

Because bX and bY are initialized to 0, the first segment when i = 0 measures the distance from the origin to the start of the path. This adds an extra sqrt(498^2+51^2) to the length. If you initialize bX = path[0] and bY = path[1], I think it will work.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!