Function geo::algorithm::euclidean_distance::nearest_neighbour_distance [−][src]
pub fn nearest_neighbour_distance<T>(
geom1: &LineString<T>,
geom2: &LineString<T>
) -> T where
T: GeoFloat + RTreeNum,
Expand description
Uses an R* tree and nearest-neighbour lookups to calculate minimum distances