Function swri_transform_util::IsRotation

Function Documentation

bool swri_transform_util::IsRotation(tf2::Matrix3x3 matrix)

Validate that a 3x3 matrix is a rotation.

Parameters:

matrix[in] The matrix to validate.

Returns:

True if the matrix is a valid rotation.