With the Eigen
C++ library, I'm having trouble understanding the Transform::linear()
function. According to the documentation, it returns the linear part of the transformation
. But what does this mean? Surely all matrix transformations are linear?
Furthermore, from seeing some examples elsewhere, it seems that the value it returns is an Eigen::Matrix3d
(or can be implicitly converted to this). To me, this suggests that it might be returning just the rotation part of the transformation, which is of length 3 (x, y and z). However, there is also a Transform::rotation()
function, which according to the documentation returns the rotation part of the transformation
.
So can somebody explain to me what Transform::linear()
actually returns?
top-left
corner of the homogenous matrix? – Harangue