is_projection_inside#

static GeometryOperators.is_projection_inside(a1: list, a2: list, b1: list, b2: list) bool#

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.

Examples

>>> from ansys.aedt.core.modeler.geometry_operators import GeometryOperators
>>> obj = GeometryOperators()
>>> obj.is_projection_inside(a1=["Box1"], a2=["Box1"], b1=["Box1"], b2=["Box1"])