Function polygon2::area [−][src]
pub fn area<T>(points: &[[T; 2]]) -> T where
T: Signed + FromPrimitive,
&'a T: Div<&'b T, Output = T> + Sub<&'b T, Output = T> + Add<&'b T, Output = T> + Mul<&'b T, Output = T>,
pub fn area<T>(points: &[[T; 2]]) -> T where
T: Signed + FromPrimitive,
&'a T: Div<&'b T, Output = T> + Sub<&'b T, Output = T> + Add<&'b T, Output = T> + Mul<&'b T, Output = T>,