Followers 0

# length of a 2D quadratic bezier curve?

## 3 posts in this topic

Is there a formula? Or must i approximate it by dividing the curve into line segments and summing them up?
0

##### Share on other sites
You could analytically divide the curve into n segments and take the limit of the sum as n goes to infinity, this should give you the formula. Or use the integral form which would give the same result (by definition). [url="http://webcache.googleusercontent.com/search?q=cache:zriWUcHFJhcJ:segfaultlabs.com/docs/quadratic-bezier-curve-length+&cd=3&hl=en&ct=clnk&gl=nz&client=opera"]Did you try this[/url] (google cache since the site seems to be down/dead)?
1

##### Share on other sites
Wow, i tried it and it works, thanks, but i have a question,

[img]http://segfaultlabs.com/files/img/graphics/qbezierlen/bezierSubst1.gif[/img]

what is the D in the b = 2P1 - 2DP0? And why is there no line above P0? I need to understand this so that i could simplify this equation, because i have a very simple case of a bezier curve.
0

##### Share on other sites
i figured it out from the code.. no need to explain, thanks again.
0

## Create an account

Register a new account

Followers 0

• 12
• 28
• 14
• 11
• 36