Function parry3d::query::details::clip_segment_segment

source ·
pub fn clip_segment_segment(
    seg1: (Point<Real>, Point<Real>),
    seg2: (Point<Real>, Point<Real>)
) -> Option<((Point<Real>, Point<Real>, usize, usize), (Point<Real>, Point<Real>, usize, usize))>
Expand description

Projects two segments on one another and compute their intersection.