pub fn segment_segment_2d( a: [f64; 2], b: [f64; 2], c: [f64; 2], d: [f64; 2], ) -> Intersection2D
Intersection of segments a-b and c-d, including touching ends and collinear overlap.
a
b
c
d