lineXYUVTransverseIntersection MethodStatic
Intersect two transverse 2D lines.
- If the lines are parallel and overlap, the returned intersection is of dubious use.
lineXYUVTransverseIntersection(a0: Readonly<WritableXAndY>, aDir: Readonly<WritableXAndY>, b0: Readonly<WritableXAndY>, bDir: Readonly<WritableXAndY>): undefined | WritableXAndY
@returns intersection fractions, x along line A and y along line B; or undefined if no intersection.
@see lineSegmentXYUVOverlapUnbounded, lineSegmentXYUVIntersectionUnbounded
| Parameter | Type | Description |
|---|---|---|
| a0 | Readonly<WritableXAndY> | start point of line A |
| aDir | Readonly<WritableXAndY> | direction vector of line A |
| b0 | Readonly<WritableXAndY> | start point of line B |
| bDir | Readonly<WritableXAndY> | direction vector of line B |
Returns - undefined | WritableXAndY
intersection fractions, x along line A and y along line B; or undefined if no intersection.
Defined in
- numerics/SmallSystem.ts Line 34
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.