Jump to content

  • Log In with Google      Sign In   
  • Create Account


length of a 2D quadratic bezier curve?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 VladimirM   Members   -  Reputation: 130

Like
0Likes
Like

Posted 22 August 2012 - 02:05 PM

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

Sponsor:

#2 Bacterius   Crossbones+   -  Reputation: 7024

Like
1Likes
Like

Posted 22 August 2012 - 02:59 PM

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). Did you try this (google cache since the site seems to be down/dead)?

"The best comment is a deleted comment."


#3 VladimirM   Members   -  Reputation: 130

Like
0Likes
Like

Posted 22 August 2012 - 03:53 PM

Wow, i tried it and it works, thanks, but i have a question,

Posted Image

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.

#4 VladimirM   Members   -  Reputation: 130

Like
0Likes
Like

Posted 22 August 2012 - 03:57 PM

i figured it out from the code.. no need to explain, thanks again.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS