pub fn translation(vec: Vector) -> Transformation
Expand description

Return a Transformation object encoding a rigid translation.

The parameter Vector specifies the amount of shift to be applied along the three axes.