Approximating arc length of Bezier by another Bezier

AI Thread Summary
Calculating the arc length of a cubic Bezier spline is challenging due to the lack of a closed-form expression, leading most to use slow line segment approximations. The discussion focuses on approximating the parameter-to-arc-length mapping of a Bezier curve with another Bezier curve. The user seeks a method to compute a 1D Bezier that represents the arc length from B(0) to B(t) without relying solely on the line segment method. They express a desire for a faster solution that derives the control points of the arc length Bezier directly from the original Bezier's control points. Ultimately, the user found a paper that effectively addresses their problem.
Reedbeta
Messages
3
Reaction score
0
(Note: cross posted to http://www.devmaster.net/forums/showthread.php?t=16227 )

Hey everyone,

As we know, the arc length of a cubic Bezier spline is kinda hard to calculate. There's no closed-form mathematical expression, so most people just subdivide it into a bunch of line segments and add those up. This is slow, but you can dress it up with adaptive subdivision and things like that to make it a bit faster.

I'd like to approximate the parameter-to-arc-length mapping of a Bezier with another Bezier. That is, given some 3D Bezier B(t) I'd like to compute a 1D Bezier s(t) that gives approximately the arc length of B from B(0) to B(t).

I could use the line segment method to get a bunch of "data points" on the arc length of B and then fit the 1D Bezier to it with least-squares or something. But I'm hoping (perhaps vainly) for a faster way...ideally something to compute the control points of s directly from the control points of B. I've googled around a bit but not found anything addressing this specific issue...anyone here happen to have heard of something like this before? :)
 
Last edited by a moderator:
Mathematics news on Phys.org
Just to follow up, I did eventually find this paper which does a pretty good job of solving my problem.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top