Function keep_ranges

Source
fn keep_ranges(
    start: f64,
    end: f64,
    remove: &[(f64, f64)],
    out: &mut Vec<(f64, f64)>,
)
Expand description

Complement of remove inside [start, end) — the ranges that survive the cut.