MassData.cpp File Reference

Go to the source code of this file.

Namespaces

 playrho
 
 playrho::d2
 

Functions

MassData playrho::d2::GetMassData (Length r, NonNegative< AreaDensity > density, Length2 location)
 Computes the mass data for a circular shape. More...
 
MassData playrho::d2::GetMassData (Length r, NonNegative< AreaDensity > density, Length2 v0, Length2 v1)
 Computes the mass data for a linear shape. More...
 
MassData playrho::d2::GetMassData (Length vertexRadius, NonNegative< AreaDensity > density, Span< const Length2 > vertices)
 Gets the mass data for the given collection of vertices with the given properties. More...
 
MassData playrho::d2::GetMassData (const Fixture &f)
 Computes the mass data for the given fixture. More...
 
MassData playrho::d2::ComputeMassData (const Body &body) noexcept
 Computes the body's mass data. More...
 
MassData playrho::d2::GetMassData (const Body &body) noexcept
 Gets the mass data of the body. More...