Function ncollide3d::query::proximity[][src]

pub fn proximity<N: RealField>(
    m1: &Isometry<N>,
    g1: &dyn Shape<N>,
    m2: &Isometry<N>,
    g2: &dyn Shape<N>,
    margin: N
) -> Proximity

Tests whether two shapes are in intersecting or separated by a distance smaller than margin.