clip_segment_segment_with_normal

Function clip_segment_segment_with_normal 

Source
pub fn clip_segment_segment_with_normal(
    seg1: (Vector, Vector),
    seg2: (Vector, Vector),
    normal: Vector,
) -> Option<((Vector, Vector, usize, usize), (Vector, Vector, usize, usize))>
Expand description

Projects two segments on one another towards the direction normal, and compute their intersection.