is_projection_inside#

static GeometryOperators.is_projection_inside(a1, a2, b1, b2)[source]#

Project a segment onto another segment and check if the projected segment is inside it.

Parameters:
a1List

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

a2List

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

b1List

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

b2List

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

Returns:
bool

True when the projected segment is inside the other segment, False otherwise.