ROTZ {RFOC}R Documentation

Z-axis Rotation Matrix

Description

Matrix rotation about the Z-axis

Usage

ROTZ(deg)

Arguments

deg

Angle in degrees

Value

A 4 by 4 matrix for rotation and translation for 3-D transformation

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, ROTY

Examples

v = c(1,4,5)
A = ROTZ(23)
vp = c(v, 1)  



[Package RFOC version 3.4-10 Index]