pub fn rdp<T, U>(points: &[Point2<T>], epsilon: f64) -> Vec<usize>
Expand description
Given a set of points and an epsilon, returns a list of indexes to keep.
If the first and last points are the same, then the points are treated as a closed polygon