weldx.transformations.point_left_of_line¶
- weldx.transformations.point_left_of_line(point, line_start, line_end)¶
Determine if a point lies left of a line.
Returns 1 if the point is left of the line and -1 if it is to the right. If the point is located on the line, this function returns 0.
- Parameters
point – Point
line_start – Starting point of the line
line_end – End point of the line
- Returns
1,-1 or 0 (see description)
- Return type