Description Usage Arguments Details Value See Also Examples
Constructors for constructing one or more transformation matrices.
1 2 3 4 5 6 7 8 9 10 |
x, y, z |
Numeric vectors, x, y and z transformation parameters. |
theta |
Numeric vector, the angle in radians. |
about |
Length-two numeric vector, giving center point for transformation. |
... |
Ignored. |
These matrices are designed for post-multiplication.
They go after the data matrix.
Pre and post scaling matrices are the same.
In 2d rotation matrices, positive theta values rotate counter-clockwise.
3d rotation matrices, are the same as the 2d matrices, except for having an extra row and column.
(Whether they're clockwise or counter-clockwise, depends on one's coordinate system).
A matrix or a 1d MatrixArray.
2d transformations are 3x3 matrices and 3d transformations are 4x4 matrices.
MatrixArray
Binary Operators
This describes how to perform operations on MatrixArray objects.
Pre-Multiplication Transformation Matrices
vt3.testplot, vt3.testplot
1 2 3 4 5 6 7 8 9 10 | ########################################
#2d static examples
########################################
#centered hexagon
v <- regPolygon (6)
vt3.testplot (v)
#four hexagons, different sizes
v2 <- v %]*% bscl2 (seq (1.3, 0.7,, 4) )
vt3.testplot (v2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.