• <tfoot id='4CTsE'></tfoot>
    <i id='4CTsE'><tr id='4CTsE'><dt id='4CTsE'><q id='4CTsE'><span id='4CTsE'><b id='4CTsE'><form id='4CTsE'><ins id='4CTsE'></ins><ul id='4CTsE'></ul><sub id='4CTsE'></sub></form><legend id='4CTsE'></legend><bdo id='4CTsE'><pre id='4CTsE'><center id='4CTsE'></center></pre></bdo></b><th id='4CTsE'></th></span></q></dt></tr></i><div id='4CTsE'><tfoot id='4CTsE'></tfoot><dl id='4CTsE'><fieldset id='4CTsE'></fieldset></dl></div>

  • <small id='4CTsE'></small><noframes id='4CTsE'>

    • <bdo id='4CTsE'></bdo><ul id='4CTsE'></ul>

      <legend id='4CTsE'><style id='4CTsE'><dir id='4CTsE'><q id='4CTsE'></q></dir></style></legend>

        3D矢量的旋转?

        时间:2023-07-05
          • <small id='XKAG7'></small><noframes id='XKAG7'>

            • <i id='XKAG7'><tr id='XKAG7'><dt id='XKAG7'><q id='XKAG7'><span id='XKAG7'><b id='XKAG7'><form id='XKAG7'><ins id='XKAG7'></ins><ul id='XKAG7'></ul><sub id='XKAG7'></sub></form><legend id='XKAG7'></legend><bdo id='XKAG7'><pre id='XKAG7'><center id='XKAG7'></center></pre></bdo></b><th id='XKAG7'></th></span></q></dt></tr></i><div id='XKAG7'><tfoot id='XKAG7'></tfoot><dl id='XKAG7'><fieldset id='XKAG7'></fieldset></dl></div>

                  <tbody id='XKAG7'></tbody>
                <tfoot id='XKAG7'></tfoot>

                <legend id='XKAG7'><style id='XKAG7'><dir id='XKAG7'><q id='XKAG7'></q></dir></style></legend>
                  <bdo id='XKAG7'></bdo><ul id='XKAG7'></ul>

                • 本文介绍了3D矢量的旋转?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有两个向量作为 Python 列表和一个角度.例如:

                  I have two vectors as Python lists and an angle. E.g.:

                  v = [3,5,0]
                  axis = [4,4,1]
                  theta = 1.2 #radian
                  

                  当围绕轴旋转 v 向量时,获得结果向量的最佳/最简单方法是什么?

                  What is the best/easiest way to get the resulting vector when rotating the v vector around the axis?

                  对于轴矢量指向的观察者来说,旋转应该是逆时针的.这称为右手法则

                  The rotation should appear to be counter clockwise for an observer to whom the axis vector is pointing. This is called the right hand rule

                  推荐答案

                  看看http://vpython.org/contents/docs/visual/VisualIntro.html.

                  它提供了一个 vector 类,该类具有 A.rotate(theta,B) 方法.如果您不想在 A 上调用该方法,它还提供了一个辅助函数 rotate(A,theta,B).

                  It provides a vector class which has a method A.rotate(theta,B). It also provides a helper function rotate(A,theta,B) if you don't want to call the method on A.

                  http://vpython.org/contents/docs/visual/vector.html

                  这篇关于3D矢量的旋转?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:OpenCV Python围绕特定点将图像旋转X度 下一篇:使用 XPath 和 Selenium 定位类的特定实例

                  相关文章

                  • <bdo id='MTVJ5'></bdo><ul id='MTVJ5'></ul>

                • <tfoot id='MTVJ5'></tfoot>
                  <legend id='MTVJ5'><style id='MTVJ5'><dir id='MTVJ5'><q id='MTVJ5'></q></dir></style></legend>

                • <i id='MTVJ5'><tr id='MTVJ5'><dt id='MTVJ5'><q id='MTVJ5'><span id='MTVJ5'><b id='MTVJ5'><form id='MTVJ5'><ins id='MTVJ5'></ins><ul id='MTVJ5'></ul><sub id='MTVJ5'></sub></form><legend id='MTVJ5'></legend><bdo id='MTVJ5'><pre id='MTVJ5'><center id='MTVJ5'></center></pre></bdo></b><th id='MTVJ5'></th></span></q></dt></tr></i><div id='MTVJ5'><tfoot id='MTVJ5'></tfoot><dl id='MTVJ5'><fieldset id='MTVJ5'></fieldset></dl></div>

                      <small id='MTVJ5'></small><noframes id='MTVJ5'>