lineSegmentXYUVTransverseIntersectionUnbounded MethodStatic
Return true if the lines have a simple intersection.
- Points (ax0,ay0) to (ax0+ux,ay0+uy) are at fractions 0 and 1 of line A.
- Points (bx0,by0) to (bx0+vx,by0+vy) are at fractions 0 and 1 of line B.
lineSegmentXYUVTransverseIntersectionUnbounded(ax0: number, ay0: number, ux: number, uy: number, bx0: number, by0: number, vx: number, vy: number, result: Vector2d): boolean
Parameter | Type | Description |
---|---|---|
ax0 | number | |
ay0 | number | |
ux | number | |
uy | number | |
bx0 | number | |
by0 | number | |
vx | number | |
vy | number | |
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
- numerics/SmallSystem.ts Line 70
Last Updated: 07 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.