pub fn simplify(
    points: &[Point],
    tolerance: f64,
    high_quality: bool
) -> Vec<Point>