Rdocumentation
powered by
Learn R Programming
RFOC (version 1.0-4)
TRANmat: Translation Matrix
Description
Create a 4 by 4 translation matrix
Usage
TRANmat(x, y, z)
Arguments
x
x-translation
y
y-translation
z
z-translation
Value
Matrix suitaqble for translating a 3D body.
References
Rogers and Adams, 1990, Mathematical Elements for Computer Graphics, McGraw-Hill, 611p.
See Also
ROTX, ROTZ, ROTY
Examples
Run this code
zT = TRANmat(
5
,
4
,
2
)
Run the code above in your browser using
DataLab