|
| MassData | playrho::d2::GetMassData (Length r, NonNegative< AreaDensity > density, const Length2 &location) |
| | Computes the mass data for a circular shape. More...
|
| |
| MassData | playrho::d2::GetMassData (Length r, NonNegative< AreaDensity > density, const Length2 &v0, const 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.
|
| |
|
template<std::size_t N> |
| constexpr bool | playrho::detail::operator!= (MassData< N > lhs, MassData< N > rhs) |
| | Inequality operator for mass data.
|
| |
|
template<std::size_t N> |
| constexpr bool | playrho::detail::operator== (MassData< N > lhs, MassData< N > rhs) |
| | Equality operator for mass data.
|
| |
Declaration of the MassData structure and associated free functions.