Function heron::rapier_plugin::rapier2d::parry::query::details::distance_convex_polyhedron_ball[][src]

pub fn distance_convex_polyhedron_ball(
    pos12: &Isometry<f32, Unit<Complex<f32>>, 2_usize>,
    shape1: &impl Shape,
    ball2: &Ball
) -> f32
Expand description

Distance between a convex polyhedron and a ball.

This function panics if the input shape does not implement both the ConvexPolyhedron and PointQuery traits.