Transform the vertex coordinates by the transformation matrix
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | transform_by(x, transform_matrix)
## Default S3 method:
transform_by(x, transform_matrix)
## S3 method for class 'matrix'
transform_by(x, transform_matrix)
## S3 method for class 'mesh3d'
transform_by(x, transform_matrix)
## S3 method for class 'numeric'
transform_by(x, transform_matrix)
## S3 method for class 'mesh3dlist'
transform_by(x, transform_matrix)
transform_by_inverse(x, transform_matrix)
|
x |
matrix, mesh3d object, mesh3dlist object, or numeric vector of length 3 or 4 (homogenous coordinates) |
transform_matrix |
4x4 transformation matrix |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.