MassData.cpp File Reference
#include <PlayRho/Collision/MassData.hpp>
#include <PlayRho/Collision/Shapes/Shape.hpp>
#include <PlayRho/Collision/Shapes/EdgeShapeConf.hpp>
#include <PlayRho/Collision/Shapes/PolygonShapeConf.hpp>
#include <PlayRho/Collision/Shapes/ChainShapeConf.hpp>
#include <PlayRho/Collision/Shapes/DiskShapeConf.hpp>
#include <PlayRho/Dynamics/Fixture.hpp>
#include <PlayRho/Dynamics/Body.hpp>
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... | |