Function nphysics2d::volumetric::convex_polyline_mass_properties_unchecked[][src]

pub fn convex_polyline_mass_properties_unchecked<N: RealField + Copy>(
    convex_polyline: &[Point<N>],
    density: N
) -> (N, Point<N>, N)
Expand description

The mass properties of a 2D convex Polyline.

The polyline is not checked to be actually convex.