To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 5184
  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)
 
  Re: Intersection of 2 3D lines?
 
(...) 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 (...) (24 years ago, 13-Sep-00, to lugnet.cad.dev)
 
  Re: Intersection of 2 3D lines?
 
(...) You can use the "Line Intersect" tab on my rotate.xls spreadsheet (get it from (URL)). It's only 2D, but you can do XY first, then XZ. The resulting XYZ values will be your intersection. Not as elegant as Rui's solution, but it works for me... (...) (24 years ago, 13-Sep-00, to lugnet.cad.dev)
 
  Re: Intersection of 2 3D lines?
 
(...) Well, thanks Steve. But you could easilly make it 3D couldn't you ?! 8) See ya (24 years ago, 13-Sep-00, to lugnet.cad.dev)
 
  Re: Intersection of 2 3D lines?
 
Thanks to both of you. Given that this newsgroup covers both part development and cad program development (with part development getting more posts for obvious reasons), I probably should have specified that I needed to do this programatically. (On (...) (24 years ago, 13-Sep-00, to lugnet.cad.dev)
 
  Re: Intersection of 2 3D lines?
 
Travis Cobbs skrev i meddelandet ... (...) I have C-code at work to solve this, even if the lines are not co-planar. It calculates one point on each line (the 'nearest points'), and if they are the same, the lines are co-planar. Mail me at ai@cej.se (...) (24 years ago, 13-Sep-00, to lugnet.cad.dev)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR