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

pub fn convex_polyline_mass_properties_unchecked<N: Real>(
    convex_polyline: &Polyline<Point<N>>,
    density: N
) -> (N, Point<N>, N)

The mass properties of a 2D convex Polyline.

The polyline is not checked to be actually convex.