|
| chrono::ChMatrix33d | bitsim::geometry::rot_x (real_t angle) |
| | The rotation by angle [rad] about the x axis. It leaves the x axis unchanged:
|
| chrono::ChMatrix33d | bitsim::geometry::rot_y (real_t angle) |
| | The rotation by angle [rad] about the y axis.
|
| chrono::ChMatrix33d | bitsim::geometry::rot_z (real_t angle) |
| | The rotation by angle [rad] about the z axis.
|
| bool | bitsim::geometry::is_rotation (const chrono::ChMatrix33d &R, real_t tolerance=1.0e-9) |
| | Whether R is a rotation: \(R^T R = I\) and \(\det R = +1\), to within tolerance. An orthogonal matrix with determinant -1 is a mirror image, which no body can do.
|
| bool | bitsim::geometry::same_matrix (const chrono::ChMatrix33d &A, const chrono::ChMatrix33d &B, real_t tolerance=1.0e-9) |
| | Whether A and B are equal to within tolerance, in the Frobenius norm.
|
| chrono::ChMatrix33d | bitsim::geometry::from_yaw_pitch_roll (const YawPitchRoll &angles) |
| | The rotation \(R_z(\mathrm{yaw})\, R_y(\mathrm{pitch})\, R_x(\mathrm{roll})\).
|
| YawPitchRoll | bitsim::geometry::to_yaw_pitch_roll (const chrono::ChMatrix33d &R) |
| | The inverse of from_yaw_pitch_roll, with the pitch in [-90, 90] degrees. It is not defined at a pitch of +-90 degrees, where yaw and roll turn about the same axis (gimbal lock).
|