Skip to main content

distance_ball_convex_polyhedron

Function distance_ball_convex_polyhedron 

Source
pub fn distance_ball_convex_polyhedron(
    pos12: &Isometry<f64>,
    ball1: &Ball,
    shape2: &(impl Shape + ?Sized),
) -> f64
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.