#### Archived

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

# Finding Two Intermediate Pts On a Line

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

## Recommended Posts

i have two points , i want two intermediate points between these points,this two(intermediate) points must be in a straight line with end points.. Thank u for any Information..

##### Share on other sites
(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 on other sites
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 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 on other sites
Thank u Sneftel..
Thank u veru much...

ur equation is working ver fine..
if i will face another problem ,i will post u

thnk u ,,,

1. 1
2. 2
Rutin
22
3. 3
4. 4
frob
17
5. 5

• 9
• 33
• 13
• 12
• 10
• ### Forum Statistics

• Total Topics
632577
• Total Posts
3007157

×