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:
pList

List of [x, y, z] coordinates for the reference point p.

aList

List of [x, y, z] coordinates for the first point of the segment.

bList

List of [x, y, z] coordinates for the second point of the segment.

Returns:
bool

True when the projection point lies on the segment defined by the two points, False otherwise.