I know how to fit a 2D line through a set of points but how can I fit a plane through a set of lines?
My lines are almost intersecting at a 3D point.
I am interested in suggestions for an a algorithmic approach to solve the problem, for example I know the least squares method for the 2D, is there any "equivalent" method for the 3D problem?
Thank you.