I have a set of points (x1, x2,..xn) that lie on the plane define by Ax+ By+Cz+d=0. I would like to find the transformation matrix to translate and rotate to XY plane. So, the new point coordinate will be x1'=(xnew, ynew,0).

A lot of answer give quaternion, dot or cross product matrix. I am not sure which one is the correct way.

Thank you

Edit
Report