[−][src]Function nphysics2d::volumetric::convex_polyline_area_and_center_of_mass_unchecked
pub fn convex_polyline_area_and_center_of_mass_unchecked<N: Real>(
convex_polyline: &[Point<N>]
) -> (N, Point<N>)
The area and center of mass of a 2D convex Polyline.
The polyline is not checked to be actually convex.