Function visioncortex::reduce::reduce[][src]

pub fn reduce<T>(original: &[Point2<T>], tolerance: f64) -> Vec<Point2<T>> where
    T: Add<Output = T> + Sub<Output = T> + Mul<Output = T> + PartialEq + Copy + Into<f64>, 

Reduce points from a path

The larger the tolerance, the fewer points will be left in output path