Function visioncortex::reduce::reduce

source ·
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>,
Expand description

Reduce points from a path

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