weldx.transformations.LocalCoordinateSystem.from_yz_and_orientation¶
- classmethod LocalCoordinateSystem.from_yz_and_orientation(vec_y, vec_z, positive_orientation=True, coordinates=None, time=None, time_ref=None)¶
Construct a coordinate system from 2 vectors and an orientation.
- Parameters
vec_y – Vector defining the y-axis
vec_z – Vector defining the z-axis
positive_orientation – Set to True if the orientation should be positive and to False if not (Default value = True)
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