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:
- a1
List
List of
[x, y, z]
coordinates for the first point of the projected segment.- a2
List
List of
[x, y, z]
coordinates for the second point of the projected segment.- b1
List
List of
[x, y, z]
coordinates for the first point of the other segment.- b2
List
List of
[x, y, z]
coordinates for the second point of the other segment.
- a1
- Returns:
- bool
True
when the projected segment is inside the other segment,False
otherwise.