Subject:
|
Re: Intersection of 2 3D lines?
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Wed, 13 Sep 2000 11:21:36 GMT
|
Reply-To:
|
Rui.Martins@link%stopspammers%.pt
|
Viewed:
|
452 times
|
| |
| |
On Wed, 13 Sep 2000, Travis Cobbs wrote:
> If I have two co-planar lines in 3-space, does anyone know how I can
> determine their intersection?
>
> If it makes the equations easier, the plane that they are in is:
>
> Z = 1 - X - Y
> otherwise written
> X + Y + Z = 1
>
> Anyone?
you just have to define the lines equation!
as you now:
Y = mX +b
Z = nX +c
defining a line as a function of X coord.
Now, these lines probably are edges os something, or at least you have to points
which belong to them, usint them, you can calculate the m,b,n,c constants for
that line. Do the smae for the other.
Than you just have to find the point that were they meet, by making a equality
system like this.
Y1 = Y2 => (m1)X + (b1) = (m2)X + (b2)
Z1 = Z2 => (n1)X + (c1) = (n2)X + (c2)
X1 = X2
Now just solve these equations.
Was that too complicate or not understandable ?!?
See ya
Rui Martins
|
|
Message is in Reply To:
| | Intersection of 2 3D lines?
|
| If I have two co-planar lines in 3-space, does anyone know how I can determine their intersection? If it makes the equations easier, the plane that they are in is: Z = 1 - X - Y otherwise written X + Y + Z = 1 Anyone? --Travis Cobbs (...) (24 years ago, 13-Sep-00, to lugnet.cad.dev)
|
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|