pub fn simplify(points: Vec<ScreenPoint>, tolerance: f32) -> Vec<ScreenPoint>Expand description
Ramer–Douglas–Peucker on screen positions: keep the ends and every vertex farther
than tolerance from the chord of the stretch it lies in.
pub fn simplify(points: Vec<ScreenPoint>, tolerance: f32) -> Vec<ScreenPoint>Ramer–Douglas–Peucker on screen positions: keep the ends and every vertex farther
than tolerance from the chord of the stretch it lies in.