View source: R/vis_volume_3d.R
| apply.affine.to.coords | R Documentation |
Internal helper, applies the matrix to homogeneous column vectors, i.e., v' = M %*% v.
apply.affine.to.coords(coords, affine_matrix)
coords |
Nx3 matrix of vertex coordinates (or a vector of length 3). |
affine_matrix |
a 4x4 affine matrix. |
Nx3 matrix of transformed coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.