Intersection of 2 lines

  • #1
3
0
Hi;
First i you read my problem and feel that it does not belong to this forum please inform me which one is the right one.

I have 2 lines L1,L2 in 3-dimensions
L1 has (x1,y1,z1) (x2,y2,z2)
L2 has (x3,y3,z3) (x4,y4,z4)
How can I know that these two lines are intersected?

Thanks
toto
 
  • #3
Parametric equations for a line through (x1,y1,z1) and (x2,y2,z2) is
x= x1+ (x2-x1)t, y= y1+ (y2-y1)t, z= z1+ (z2-z1)t

Parametric equations for a line through (x3,y3,z3) and (x4,y4,z4) is
x= x3+ (x4-x3)s, y= y3+(y4- y3)s, z= z3+ (z4-z3)s

Set x= x, y= y, z= z to get three equations for s and t. Solve two of the equations for s and t and then see if those values satisfy the third.
 
  • #4
Thanks alot
 

Suggested for: Intersection of 2 lines

Replies
14
Views
916
Replies
1
Views
834
Replies
1
Views
860
Replies
3
Views
1K
Replies
4
Views
498
Replies
2
Views
1K
Replies
4
Views
1K
Back
Top