rotation.matrix.for.axis.rot | R Documentation |
Get rotation matrix for a 3D rotation around an axis.
rotation.matrix.for.axis.rot(angle_rad, x, y, z, with_trans = TRUE)
angle_rad |
doule, the angle in radians |
x |
rotation axis |
y |
rotation axis |
z |
rotation axis |
with_trans |
logical, whether to extend the 3x3 rotation matrix to a 4x4 rotation and tranlsation matrix. |
a 3x3 or 4x4 double matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.