weldx.transformations.reflection_sign#

weldx.transformations.reflection_sign(matrix)#

Get a sign indicating if the transformation is a reflection.

Returns -1 if the transformation contains a reflection and 1 if not.

Parameters:

matrix – Transformation matrix

Returns:

1 or -1 (see description)

Return type:

int