Skip to main content

Translation matrix

Computes the translation matrix.

Syntax

translation_matrix(Vector)

Description

Given a vector v of two components, computes the matrix that translates the points through vector vv. If the has three components, homogeneous coordinates are used: the third component indicates the scaling.

calc.translation_matrix.calc.png