Learn R Programming

RFOC (version 3.4-6)

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
# NOT RUN {
zT = TRANmat(5, 4, 2)
# }

Run the code above in your browser using DataLab