weldx.WXRotation.identity#
- classmethod WXRotation.identity(cls, num=None)#
Get identity rotation(s).
Composition with the identity rotation has no effect.
- Parameters:
num (int or None, optional) – Number of identity rotations to generate. If None (default), then a single rotation is generated.
- Returns:
identity – The identity rotation.
- Return type:
Rotation object