Function heron::rapier_plugin::rapier2d::parry::query::details::clip_segment_segment [−][src]
pub fn clip_segment_segment(
seg1: (OPoint<f32, Const<2_usize>>, OPoint<f32, Const<2_usize>>),
seg2: (OPoint<f32, Const<2_usize>>, OPoint<f32, Const<2_usize>>)
) -> Option<((OPoint<f32, Const<2_usize>>, OPoint<f32, Const<2_usize>>, usize, usize), (OPoint<f32, Const<2_usize>>, OPoint<f32, Const<2_usize>>, usize, usize))>
Expand description
Projects two segments on one another and compute their intersection.