Translate
- class Translate(translation: ndarray[3])
A
Translatetransformation shifts a vector by a giventranslation(x, y, z).Its matrix looks like:
┏ ┓ ┃ 1 0 0 x ┃ ┃ 0 1 0 y ┃ ┃ 0 0 1 z ┃ ┃ 0 0 0 1 ┃ ┗ ┛
Attributes
The translation to apply to vectors.
Methods
Apply this
Translateto a vector.The inverse
HomogeneousTransformationof this one.- inverse()
The inverse
HomogeneousTransformationof this one.
- translation
The translation to apply to vectors.