Finding coordinates of a point between two points?

Posted by Nicros on Stack Overflow See other posts from Stack Overflow or by Nicros
Published on 2010-05-21T22:48:20Z Indexed on 2010/05/21 22:50 UTC
Read the original article Hit count: 327

Filed under:
|
|

Doing some 3D stuff in wpf- want to use a simpler test to see if everything is working (before moving to curves).

The basic question is given two points x1,y1,z1 and x2,y2,z2 I have calculated the distance between the points. But how to find the coordinates of another point (x3,y3,z3) that lies on that line at some distance?

I.e. if my line is 100 long between -50,0,0 and 50,0,0 what are the coordinates of the point at 100 * 0.1 along the line?

I think this is a simple formula but I haven't found it yet....

© Stack Overflow or respective owner

Related posts about wpf

Related posts about math