Template Function lvr2::inverseTransform

Function Documentation

template<typename T>
Transform<T> lvr2::inverseTransform(const Transform<T> &transform)

Computes the inverse transformation from the given transformation matrix, which means if transform encodes the transformation A->B, the return will transform from B to A.

Parameters:

transform – A transformation matrix

Returns:

Transform<T> The inverse transformation