Function parry2d_f64::query::details::clip_segment_segment_with_normal
source · pub fn clip_segment_segment_with_normal(
seg1: (Point<Real>, Point<Real>),
seg2: (Point<Real>, Point<Real>),
normal: Vector<Real>
) -> Option<((Point<Real>, Point<Real>, usize, usize), (Point<Real>, Point<Real>, usize, usize))>Expand description
Projects two segments on one another towards the direction normal,
and compute their intersection.