Trait DistanceBVBV

Source
pub trait DistanceBVBV<BA, BB> {
    type Dist;

    // Required method
    fn bv_to_bv_distance(
        &mut self,
        bounding_volume_a: &BA,
        bounding_volume_b: &BB,
    ) -> Self::Dist;
}

Required Associated Types§

Required Methods§

Source

fn bv_to_bv_distance( &mut self, bounding_volume_a: &BA, bounding_volume_b: &BB, ) -> Self::Dist

Implementors§

Source§

impl<BA, BB, F, D> DistanceBVBV<BA, BB> for F
where F: FnMut(&BA, &BB) -> D,

Source§

type Dist = D