[eigen] Translation times Rotation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: Eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Translation times Rotation
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Mon, 18 Jul 2011 19:22:34 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=RX2q6VC8NPwUHFTU2ioZIqyrnJi8FiUYDdDqiywyI48=; b=U5brl1bgAzMRMOkSUsPy5MlI8Du0nCMcgPKEZUV36eDbjc03E1sP2FzKqm4w327UEi ECYZwjZWOE3YAkLVdbNI2vU8AI2mKOSXWJU4XKJOOBs04ebeSQPp6GsvRTHWDlvVRfHa rJQcf8C0foe8x5KsByUsM7PagHG5AAHZ5JCNA=
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