Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Author(s)

Jonathan M. Lees <jonathan.lees@unc.edu>

References

Rogers and Adams, 1990, Mathematical Elements for Computer Graphics, McGraw-Hill, 611p.

See Also

ROTX, ROTZ, ROTY

Examples

zT = TRANmat(5, 4, 2)

RFOC

Graphics for Spherical Distributions and Earthquake Focal Mechanisms

v3.4-6
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Keehoon Kim [ctb]
Initial release
2018-01-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.