[−][src]Function parry2d::query::details::nonlinear_time_of_impact_support_map_support_map_with_closest_points_function
pub fn nonlinear_time_of_impact_support_map_support_map_with_closest_points_function<G1: ?Sized, G2: ?Sized>(
motion12: &impl RigidMotion + ?Sized,
g1: &G1,
g2: &G2,
max_toi: Real,
target_distance: Real,
closest_points: impl Fn(&Isometry<Real>, &G1, &G2, Real) -> ClosestPoints
) -> Option<TOI> where
G1: SupportMap,
G2: SupportMap,
Time of impacts between two support-mapped shapes under a rigid motion.
You probably want to use query::details::nonlinear_time_of_impact_support_map_support_map
instead of this one.
The distance function between the two shapes must be given.