pub fn simplify_radial_dist<T>( points: &[Point2<T>], sq_tolerance: f64 ) -> Vec<Point2<T>>where T: Add<Output = T> + Sub<Output = T> + Mul<Output = T> + PartialEq + Copy + Into<f64>,
basic distance-based simplification