I am using VTK and Python for a project related to my studies.
I am given the following point centerOfRotation and the orientation degrees,
as well as the vector [1, 0, 0]. Now I want to rotate the vector so it
"points" in the direction specified by degrres and then translate it to the
newPos = *3
The centerOfRotation and degrees are extracted from another program, in the
other program the second point(newPos) should be beneath the first
point(centerOfRotation). But with the code given above, the second point is
located above the center of rotation. I hope someone can point me in the
right direction. Thanks a lot !
BTW: I am given another information by the other program: YSymmetry=1. I am
not really sure what that means though.
Note: I am neither a math nor computer student and my math skills are
somewhat rusty. Right now I dont have the time to study the math, so if you
could point me in the right "coding" direction I would appreciate it :D