Function polygon2::area [] [src]

pub fn area<T>(points: &[[T; 2]]) -> T where
    T: Copy + Num