1 EIGEN2d刚体变换没有轴角,没有四元数;

 Eigen::Affine2d m;
    m.setIdentity();
    Eigen::Rotation2Dd r=Eigen::Rotation2Dd(M_PI/4);
    Eigen::AngleAxisd v(Eigen::AngleAxisd(M_PI/4,Eigen::Vector3d(0,0,1)));
    m.rotate(r);
    m.pretranslate(Eigen::Vector2d(2,1));
    cout<<m.matrix();

相关文章:

  • 2021-07-30
  • 2021-04-04
  • 2021-05-02
  • 2021-11-25
  • 2021-07-10
  • 2021-12-01
  • 2021-09-06
  • 2022-01-02
猜你喜欢
  • 2021-07-25
  • 2021-04-25
  • 2021-12-02
  • 2022-12-23
  • 2021-05-14
  • 2021-11-02
  • 2021-11-25
相关资源
相似解决方案