pub fn approximate_length<Iter>(path: Iter, tolerance: f32) -> f32
where Iter: IntoIterator<Item = PathEvent>,