It will work only if the two lines are in the same side of the origin right ?
how do we find the distance between parallel lines
-
UP 0 DOWN 0 0 6
6 Answers
Let the first lne be
r-a=λm (where r, a, m are vectors)
2nd line be
r-b=λm
So The answer is as simple as distance of a point on the 1st line to the 2nd line!
so u can simply find the distance of a from the line r-b=λm
or alternatively b from r-a=λm
u can find d distance of 1 line frm origin.
tthen find d dist of 2nd line frm origin
result:subtract d distances and u get d in b/w dist
i find it simple as common sense is reqd.
hope u find it easy 2.
No not even then!
It will work only if both lines lie on the same plane as the origin!
See this one.. will it work here?
The same side of origin logic will not work! can u see what i am saying?
yup i agree .my ans .is confined 2 only if pts lie on same plane.my method can only b applied if2 pts lie on same side of origin.
thanx a lot 4 correcting me.