is_point_projection_in_segment#
- static GeometryOperators.is_point_projection_in_segment(p, a, b)[source]#
Check if a point projection lies on the segment defined by two points.
- Parameters:
- p
List
List of
[x, y, z]
coordinates for the reference pointp
.- a
List
List of
[x, y, z]
coordinates for the first point of the segment.- b
List
List of
[x, y, z]
coordinates for the second point of the segment.
- p
- Returns:
- bool
True
when the projection point lies on the segment defined by the two points,False
otherwise.