Function polygon2::point_to_line_distance [−][src]
pub fn point_to_line_distance<T>(p: &[T; 2], a: &[T; 2], b: &[T; 2]) -> T where
T: Clone + Float + Bounded + PartialOrd,
&'a T: Add<&'b T, Output = T> + Sub<&'b T, Output = T> + Div<&'b T, Output = T> + Mul<&'b T, Output = T>,