[eigen] Translation times Rotation

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi guys,

would anybody mind if I changed

  template<typename Derived>
  inline AffineTransformType operator*(const RotationBase<Derived,Dim>& r) const
  { return *this * r.toRotationMatrix(); }

in the Translation class to

  template<typename Derived>
  inline Transform<Scalar,Dim,Isometry> operator*(const
RotationBase<Derived,Dim>& r) const
  { return *this * r.toRotationMatrix(); }

??

I have a function in which I want to create a random
Transform<Scalar,Dim,Isometry> but returning a product of

Translation<...> * Rotation2D

does not work because of the issue above.

Regards,
Hauke



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/