Problem with eq of Line Segment

studiot

Joined Nov 9, 2007
4,998
The link doesn't work for me.

But think about what happens if x2 = x1; what is x? in the first equation?

similarly if y2 = y1; what is y in the second equation?
 
Last edited:

WBahn

Joined Mar 31, 2012
33,201
Hi,

Slide 11 on the following link is showing two eq:
I got this from:


www.cse.msu.edu/~cse472/lectures/14.pdf‎


Line from (x1,y1) to (x2,y2)
x = x1 + u(x2 - x1)
y = y1 + u(y2 - y1)

Can some body plz guide me how we got the above two eq.

Zulfi.
We've been through this more than once already!

What is x and y if u=0?

What is x and y if u=1?

These are both linear equations. If two parametric linear equations go through two points, then they describe the line that connects those two points.
 
Top