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: Point2d, a1: Point2d, b0: Point2d, b1: Point2d, result: Vector2d): boolean

Parameter Type Description
a0 Point2d start point of line A
a1 Point2d end point of line A
b0 Point2d start point of line B
b1 Point2d 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: 07 June, 2025