Function heron::rapier_plugin::rapier::parry::query::details::distance_ball_convex_polyhedron[][src]

pub fn distance_ball_convex_polyhedron(
    pos12: &Isometry<f32, Unit<Quaternion<f32>>, 3_usize>,
    ball1: &Ball,
    shape2: &impl Shape
) -> f32

Distance between a ball and a convex polyhedron.

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