weldx.transformations.local_cs.LocalCoordinateSystem.from_orientation¶
-
classmethod
LocalCoordinateSystem.
from_orientation
(orientation, coordinates=None, time=None, time_ref=None)¶ Construct a local coordinate system from orientation matrix.
- Parameters
orientation – Orthogonal transformation matrix
coordinates – Coordinates of the origin (Default value = None)
time – Time data for time dependent coordinate systems (Default value = None)
time_ref – Reference Timestamp to use if time is Timedelta or pint.Quantity.
- Returns
Local coordinate system
- Return type