FUNCTION REFERENCE

transltform2d

2-D translation object (value class).

2-D translation object (value class).

Syntax

tform = transltform2d

Syntax

tform = transltform2d(tx, ty)

Syntax

tform = transltform2d(t)

Syntax

tform = transltform2d(A)

Syntax

tform = transltform2d(tformIn)

A = [1 0 tx; 0 1 ty; 0 0 1]. Properties: Dimensionality (read-only), Translation and A (both settable).

Example

t = transltform2d(3, -1); [x, y] = transformPointsForward(t, 1, 1)   % 4, 0

Example

t = transltform2d([5 6]); t.A

Differences from MATLAB: 3-D and single-precision objects are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.