Apr 07 2012 | 12:44 pm

Hi everyone,

I am looking for a way to compute the intersection between two planes in 3d-space. The result is a straight line. To begin with, I have two sets of three points with which I'm able define the two (non parallel) planes.

As far as I can remember from school there are many ways to accomplish this. Usually it involves setting up the plane equations in a certain way and then solving a linear equation system. This can be done by gaussian elimination, I think. Easily enough done on paper. But is there a way of implementing this in code? Or maybe someone has an Idea where I can find a set of 3d-math objects or something like that?

Any advice is appreciated!

Thanks!

Tom