weldx.LocalCoordinateSystem.as_homogeneous_matrix#

LocalCoordinateSystem.as_homogeneous_matrix(translation_unit)#

Get a homogeneous transformation matrix from the coordinate system orientation.

Parameters:

translation_unit (UnitLike) – Unit the translation part of the homogeneous transformation matrix should represent.

Returns:

Numpy array representing the homogeneous transformation matrix.

Return type:

numpy.ndarray