line2Intersect
line2Intersect(
a,b,tolerance?):Point2|null
Defined in: line2.ts:85
Returns the intersection point of two infinite lines, or null if they are
parallel.
The parallel test scales the cross product by both direction lengths, so it
is an angular threshold rather than a raw one — rescaling either direction
leaves the answer unchanged, which a bare bound on denom would not.
Parameters
Section titled “Parameters”tolerance?
Section titled “tolerance?”number = geometryConfig.defaultAngularTolerance
Dimensionless bound on sin of the angle between the two
directions, below which they count as parallel.
Returns
Section titled “Returns”Point2 | null