How to calculate point along a curve?

Posted by Nicros on Stack Overflow See other posts from Stack Overflow or by Nicros
Published on 2010-05-21T18:55:45Z Indexed on 2010/05/24 5:10 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

I am writing a custom animation for wpf and as a non math guy I have a couple questions...

If I am given two Point3D's, the From and To, and assuming the origin is at 0,0,0 how do I calculate a curve between the two points?

And once I have the curve 'plotted' and I know its length (how to do that too?) how can I calculate the x,y,z coords at some given distance along the line?

Thanks!

© Stack Overflow or respective owner

Related posts about wpf

Related posts about math