三維座標的旋轉
計算座標繞 x、y、z 軸旋轉後的新座標。

| \(\normalsize Rotation\ of\ points\hspace{20px}\theta: (x,y,z)\rightarrow (x',y',z')\\ \begin{pmatrix} x'\\ y'\\ z'\\ \end{pmatrix}_{x} = \begin{pmatrix} 1 & 0 & 0 \\ 0 & \cos\theta & -\sin\theta \\ 0 & \sin\theta & \cos\theta \end{pmatrix} \begin{pmatrix} x\\ y\\ z\\ \end{pmatrix} \\ \begin{pmatrix} x'\\ y'\\ z'\\ \end{pmatrix}_{y} = \begin{pmatrix} \cos\theta & 0 & \sin\theta \\ 0 & 1 & 0 \\ -\sin\theta & 0 & \cos\theta \end{pmatrix} \begin{pmatrix} x\\ y\\ z\\ \end{pmatrix} \\ \begin{pmatrix} x'\\ y'\\ z'\\ \end{pmatrix}_{z} = \begin{pmatrix} \cos\theta & -\sin\theta & 0 \\ \sin\theta & \cos\theta & 0 \\ 0 & 0 & 1 \end{pmatrix} \begin{pmatrix} x\\ y\\ z\\ \end{pmatrix} \) |
目前還沒有關於此計算的用戶評價。