Function parry2d::query::details::distance_ball_convex_polyhedron

source ·
pub fn distance_ball_convex_polyhedron(
    pos12: &Isometry<Real>,
    ball1: &Ball,
    shape2: &(impl Shape + ?Sized)
) -> Real
Expand description

Distance between a ball and a convex polyhedron.

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