R: Translation Matrix

TRANmat {RFOC} | R Documentation

## 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)

[Package RFOC version 3.4-3 Index]