[Math] 3 line / 3 plane intersection

3dcomputational geometrygeometry

I am confused on a very simple thing, so I need your clarifications. Here is my doubt: I want to find the intersection point of three straight lines. Alternatively, I can find it by using three planes. (Assuming I derived the planes from some point data and contain some outliers)

So for the first case (i.e. for 3 lines case)
I think I can first find the intersection point of 2 lines and then take another 2 and so on. then, may be I will get 3 points. Hence, I need some sort of adjustment (e.g. least square) to get the correct point.
If I take the 3 planes intersection case, I think I can first select 2 planes and then I can find the intersection line and then get the third plane. Finally, line-plane intersection would give me the relevant point.
Maybe the methods that I mentioned are not correct.

So, now I want to know what is the most precise method to get intersection point from

  1. three lines
  2. three planes

and what is most precise or both are equal?
many thanks

Best Answer

If you are in $\mathbb{R}^3$, two lines will generally not intersect. You can find the point that minimizes the sum of the (squares of the) distances to the three lines. Information of how to calculate the distance to the line in three dimensions is at Mathworld, then use a function minimizer. In general three planes will intersect in a point. You can solve the simultaneous equations of the planes to find it. If there are errors in your planes, there will be an error in your point.

Related Question