## math question (intersecting planes)

Apr 7, 2012 at 12:44pm

# math question (intersecting planes)

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?

Thanks!
Tom

#62824
Apr 7, 2012 at 2:13pm

Hello,

[jit.la.*] objects if you use matrix to solve your problem ? but i can not help you much as all that stuff (school) is too far in my memory ;-)

http://cycling74.com/forums/topic.php?id=39061

#226783
Apr 7, 2012 at 2:52pm

Hi Vanille,

thanks for your answer! A good idea to look at the jit.la objects.
I think the problem is though that when intersecting two planes you get a line. A line has an unknown in the equation that describes it… But maybe there is way to do it with jit.la.* and I’m just not thinking the right way yet. I’ll keep trying:)

Cheers,
Tom

#226785
Apr 7, 2012 at 2:56pm

That might be exactly what I’m looking for!
Thanks Robert.

Tom

#226786
Apr 7, 2012 at 5:59pm

wow, that is a great resource. Lots to think about and experiment with. Thanks for the link!

#226787

You must be logged in to reply to this topic.