I have 2 vectors in 3D space, for example:
If I know these 4 points, is there any method to find out the euler angles of them? I am trying to move these two vectors to the origin, then assuming these two vectors are rotated from two reference vector, which have the same length of these two, for example (0,0,z1),(0,0,z2). But I do not know what to do next. Am I in the right way, or is there any other method to find out the euler angles?
BTW: I have got some ideas from this answer but I do not know the meaning of the final matrix :(