weldx.transformations.util.vector_points_to_left_of_vector¶
-
weldx.transformations.util.
vector_points_to_left_of_vector
(vector, vector_reference)¶ Determine if a vector points to the left of another vector.
Returns 1 if the vector points to the left of the reference vector and -1 if it points to the right. In case both vectors point into the same or the opposite directions, this function returns 0.
- Parameters
vector – Vector
vector_reference – Reference vector
- Returns
1,-1 or 0 (see description)
- Return type