lineSegment2dXYTransverseIntersectionUnbounded MethodStatic

Return true if lines (a0,a1) to (b0, b1) have a simple intersection. Return the fractional (not xy) coordinates in result.x, result.y.

lineSegment2dXYTransverseIntersectionUnbounded(a0: XAndY, a1: XAndY, b0: XAndY, b1: XAndY, result: Vector2d): boolean

Parameter Type Description
a0 XAndY start point of line A
a1 XAndY end point of line A
b0 XAndY start point of line B
b1 XAndY end point of line B
result Vector2d vector to receive fractional coordinates of intersection: result.x is fraction on line A, result.y is
fraction on line B.

Returns - boolean

Defined in

Last Updated: 04 June, 2026