CRA_Assembly.transform

CRA_Assembly.transform(T)

Transform this assembly by the given transformation matrix.

Parameters:
TTransformation

The transformation matrix.

Notes

The assembly is transformed in place. No copy is made.

Examples

>>> assembly = Assembly.from_json("assembly.json")
>>> R = Rotation.from_axis_and_angle([1.0, 0, 0], -pi / 2)
>>> assembly_transform(assembly, R)