tag:blogger.com,1999:blog-8885167082319491081.post4756566528815627940..comments2008-08-20T12:41:34.369-04:00Comments on digital sanitation engineering: Rotating a point around a vectornickghttp://www.blogger.com/profile/04659163622120256748noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-8885167082319491081.post-55966071537799917522008-07-30T20:22:00.000-04:002008-07-30T20:22:00.000-04:002008-07-30T20:22:00.000-04:00I am the "anonymous" that said Wikipedia had Rodri...I am the "anonymous" that said Wikipedia had Rodrigues equation defined. You can see it at http://en.wikipedia.org/wiki/Rodrigues%27_rotation_formula. I didn't bother going through the proof on that page but simply used the equation at the top of the page. Incidentally, I figured out the notation (u,v) in the third term to the right of the equal sign means dot-product.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8885167082319491081.post-44730408840921069152008-07-20T10:00:00.000-04:002008-07-20T10:00:00.000-04:002008-07-20T10:00:00.000-04:00I have to agre with the one that anonymous posted....I have to agre with the one that anonymous posted. If you visualize it, it makes sense. The first two use cosine to interpolate between X and where X would be if rotated 180 using U truncated (by the dot) as the center point. The last term shifts it on the perpendicular axis using sine. Beautiful! However, when I searched wikipedia for Rodrigues equation I got nothing like this.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8885167082319491081.post-85606678825078273972008-04-02T16:48:00.000-04:002008-04-02T16:48:00.000-04:002008-04-02T16:48:00.000-04:00Aha! I was delighted to find this "vector" solutio...Aha! I was delighted to find this "vector" solution posted here, but when I tried it gave the wrong answer. I Googled and found the correct form of this "Rodrigues" equation posted on Wikipedia:<BR/><BR/>X times (cos lambda) + U times (U dot X)(1 - cos lambda) + (U cross X) times (sin lambda)<BR/><BR/>Notice the additional first term. But thanks, stijn, for pointing me in the right direction to solve my geometry problem.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8885167082319491081.post-13343774229401022562007-12-08T13:11:00.000-05:002007-12-08T13:11:00.000-05:002007-12-08T13:11:00.000-05:00Or, in other words, the rotated vector is equal to...Or, in other words, the rotated vector is equal to<BR/><BR/>U times (U dot X)(1 - cos lambda) + (U cross X) times (sin lambda)<BR/><BR/>where U is the normalized form of (u,v,w) and X is (x,y,z). Thanks though :)Stijnhttp://www.blogger.com/profile/06868225813035333897noreply@blogger.com