pub fn distances_nearest_edges(tree: &Tree, points: &[(f64, f64)]) -> Vec<f64>