I have the following problem. I not only want to calculate the angle between two planes, I would also like to know what's the direction of this angle, basically the yaw angle. So I would set plane A to some angle, then calculate the angle between the direction of plane A and the direction of the highest slope between both planes. I know angle alpha in the image thats no problem
So far I have two planes, defined by their normal vector. Then I can calculate the cross product of these two, which give me the line of intersection. Then I take the normal vector of this line, project it to reference plane A and say plane A has a certain direction vector. Now I calculate the angle between the direction vector of plane A and the projected normal vector of the line of intersection. But then I still don't know if I am going up or down.
Maybe there is also another possibility. If I calculate roll and pitch angle (so set the normal component of the reference plane one time to zero for x -> roll angle between both plane, and one time to zero for y - pitch angle) separately, then I could from a combination of these, also calculate the yaw angle between two planes?
Does someone know the solution? I hope I have explained it clearly.
Thanks