Shape configuration structure. More...
#include <ShapeConf.hpp>
Public Member Functions | |
| constexpr | ShapeBuilder ()=default |
| Default constructor. | |
| constexpr | ShapeBuilder (const BaseShapeConf &value) noexcept |
| Initializing constructor. | |
Public Member Functions inherited from playrho::d2::ShapeBuilder< ShapeConf > | |
| constexpr | ShapeBuilder ()=default |
| Default constructor. | |
| constexpr | ShapeBuilder (const BaseShapeConf &value) noexcept |
| Initializing constructor. | |
| constexpr ShapeConf & | UseFriction (NonNegative< Real > value) noexcept |
| Uses the given friction. | |
| constexpr ShapeConf & | UseRestitution (Finite< Real > value) noexcept |
| Uses the given restitution. | |
| constexpr ShapeConf & | UseDensity (NonNegative< AreaDensity > value) noexcept |
| Uses the given density. | |
Additional Inherited Members | |
Public Attributes inherited from playrho::d2::BaseShapeConf | |
| NonNegative< Real > | friction = NonNegative<Real>{Real{2} / Real{10}} |
| Friction coefficient. More... | |
| Finite< Real > | restitution = Finite<Real>{0} |
| Restitution (elasticity) of the associated shape. More... | |
| NonNegative< AreaDensity > | density = NonNegative<AreaDensity>{0_kgpm2} |
| Area density of the associated shape. More... | |
Shape configuration structure.