rangeIntersection

Length of intersection of two segments on a line, or 0 if they do not intersect.

T
rangeIntersection
(
T
)
(
T a0
,
T a1
,
T b0
,
T b1
)

Meta