二维旋转:
几何位置变换

因为
x1=cos(α)*r,y1=sin(α)*r,x2=cos(α+β)*r,y2=sin(α+β)*r
所以
x2=cos(α+β)*r=cos(α)*cos(β)*r-sin(α)*sin(β)*r=cos(β)*x1-sin(β)*y1
y2=sin(α+β)*r=sin(α)*cos(β)*r+cos(α)*sin(β)*r=y1*cos(β)+x1*sin(β)

三维旋转:
参考博客:http://blog.csdn.net/csxiaoshui/article/details/65446125

相关文章:

  • 2022-12-23
  • 2021-04-14
  • 2021-08-08
  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2021-09-06
猜你喜欢
  • 2022-01-08
  • 2021-10-21
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案