pub fn segment_segment_intersect_2d(
p1: [f64; 2],
p2: [f64; 2],
p3: [f64; 2],
p4: [f64; 2],
) -> Option<[f64; 2]>Expand description
Compute the intersection of two 2D line segments.
Returns the intersection point if segments properly intersect, or None.