Function oxygengine_physics_2d::prelude::volumetric::convex_polyline_mass_properties_unchecked
source · pub fn convex_polyline_mass_properties_unchecked<N>(
convex_polyline: &[OPoint<N, Const<2>>],
density: N
) -> (N, OPoint<N, Const<2>>, N)where
N: RealField + Copy,
Expand description
The mass properties of a 2D convex Polyline.
The polyline is not checked to be actually convex.