Function nphysics3d::volumetric::convex_hull_center_of_mass [] [src]

pub fn convex_hull_center_of_mass<P>(dim: usize, points: &[P]) -> P where P: Point, P::Vect: Outer + Mul<P::Vect::OuterProductType, Output=P::Vect>, P::Vect::OuterProductType: EigenQR<P::Vect::Scalar, P::Vect> + Mul<P, Output=P> + Add<P::Vect::OuterProductType, Output=P::Vect::OuterProductType> + Zero + Copy

The center of mass of the convex hull of a set of points.