pub fn clip_segment_segment(
seg1: (Point<f32>, Point<f32>),
seg2: (Point<f32>, Point<f32>),
) -> Option<((Point<f32>, Point<f32>, usize, usize), (Point<f32>, Point<f32>, usize, usize))>
Expand description
Projects two segments on one another and compute their intersection.