Skip to main content

support_map_support_map_compute_separation

Function support_map_support_map_compute_separation 

Source
pub fn support_map_support_map_compute_separation(
    sm1: &impl SupportMap,
    sm2: &impl SupportMap,
    pos12: &Isometry<f64>,
    dir1: &Unit<Vector<f64>>,
) -> f64
Expand description

Computes the separation along the given direction, between two convex shapes implementing the SupportMap trait.