Description Usage Arguments Value Examples
Takes a 12 coordinates vector and returns a 4x4 matrix
1 | vect2mat(affine_vect)
|
affine_vect |
affine transform vector with 12 indices. The vector store the “top” three rows for the 4x4 affine matrix, in a "row major" fashion. |
a 4x4 affine transform matrix, with the top three rows and a last row containing 0,0,0,1
1 | vect2mat(1:12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.