Function nphysics2d::volumetric::convex_polyline_area_and_center_of_mass_unchecked[][src]

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

The area and center of mass of a 2D convex Polyline.

The polyline is not checked to be actually convex.