Function polygon2::closest_edge[][src]

pub fn closest_edge<T>(points: &[[T; 2]], p: &[T; 2]) -> Intersection<T> where
    T: Clone + Float + Bounded + PartialOrd,
    &'a T: Div<&'b T, Output = T> + Sub<&'b T, Output = T> + Add<&'b T, Output = T> + Mul<&'b T, Output = T>,