Skip to main content

least_distance

Function least_distance 

Source
pub fn least_distance<PA: Piece + Clone, PB: Piece + Clone>(
    a: Vec<PA>,
    b: Vec<PB>,
    handoff: Scalar,
    max_nodes: usize,
) -> GeopResult<Nearest<PA::At, PB::At>>
Expand description

The least distance between the set a is pieces of and the set b is pieces of (see the module docs).

Fails only if neither set attains a point in any piece searched.