Archived

This topic is now archived and is closed to further replies.

Finding Two Intermediate Pts On a Line

This topic is 4999 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

(x, y) = (x0, y0) + k * (xd, yd)

(x0, y0)= one point, (xd, yd)= the other point - the first point
k a parameter between 0 and 1.


blah blah blah.

[edited by - Chris Hare on April 5, 2004 4:06:06 AM]

Share this post


Link to post
Share on other sites
THANK U for Reply....
Waht i want is i have two points ..
and i want another two points between them in same line..

now what u say is :

(x , y ) = (x0 , yo) + k * (x1 , y1)

if (x0 , y0) & (x1 , y1) are two points ,i will get intermediate points by substituting K in he range 0 and 1 .

but is it taking slope into account ?

say for example: (2,4) & (4,2)

(x,y) = (2,4) + k * (4 , 2)

if k = 0.2 x = 2.8 y = 4.4 ;
if k = 0.6 x = 4.4 y = 5.2 ;

but any of this points is not in between the specified points

This is what i Thinks...
so can u tell me more abt it..
Thank U for any Info''tion..



Share this post


Link to post
Share on other sites
Chris Hare's equation refers to the difference between the two points, not the second point. Another way to express it is:

(x, y) = (1-t)*(x0, y0) + t*(x1, y1)


"Sneftel is correct, if rather vulgar." --Flarelocke

[edited by - sneftel on April 5, 2004 5:21:06 AM]

Share this post


Link to post
Share on other sites