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

pub fn convex_polyline_area_and_center_of_mass_unchecked<N: Real>(
    convex_polyline: &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.