Function rin::math::line_segment_intersection [−][src]
pub fn line_segment_intersection(
p0: Point<f32, U2>,
p1: Point<f32, U2>,
p2: Point<f32, U2>,
p3: Point<f32, U2>
) -> Option<Point<f32, U2>>
Intersection of line segments p0 - p1 and p2 - p3