View more

View more

View more

### Image of the Day Submit

IOTD | Top Screenshots

### The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

# 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.

3 replies to this topic

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?

### #2Bacterius  Members

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)?

“If I understand the standard right it is legal and safe to do this but the resulting value could be anything.”

Posted 22 August 2012 - 03:53 PM

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

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.