|
constexpr AngularMomentum | playrho::d2::GetAngularReaction (const DistanceJointConf &) noexcept |
| Gets the current angular reaction for the given configuration.
|
|
DistanceJointConf | playrho::d2::GetDistanceJointConf (const Joint &joint) |
| Gets the definition data for the given joint. More...
|
|
DistanceJointConf | playrho::d2::GetDistanceJointConf (const World &world, BodyID bodyA, BodyID bodyB, const Length2 &anchorA=Length2{}, const Length2 &anchorB=Length2{}) |
| Gets the configuration for a joint with the given parameters. More...
|
|
constexpr auto | playrho::d2::GetLength (const DistanceJointConf &object) noexcept |
| Free function for getting the length value of the given configuration.
|
|
constexpr Momentum2 | playrho::d2::GetLinearReaction (const DistanceJointConf &object) noexcept |
| Gets the current linear reaction for the given configuration.
|
|
void | playrho::d2::InitVelocity (DistanceJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step, const ConstraintSolverConf &conf) |
| Initializes velocity constraint data based on the given solver data. More...
|
|
constexpr bool | playrho::d2::operator!= (const DistanceJointConf &lhs, const DistanceJointConf &rhs) noexcept |
| Inequality operator.
|
|
constexpr bool | playrho::d2::operator== (const DistanceJointConf &lhs, const DistanceJointConf &rhs) noexcept |
| Equality operator.
|
|
constexpr void | playrho::d2::SetDampingRatio (DistanceJointConf &object, Real value) noexcept |
| Free function for setting the damping ratio value of the given configuration.
|
|
constexpr void | playrho::d2::SetFrequency (DistanceJointConf &object, NonNegative< Frequency > value) noexcept |
| Free function for setting the frequency value of the given configuration.
|
|
constexpr auto | playrho::d2::SetLength (DistanceJointConf &object, Length value) noexcept |
| Free function for setting the length value of the given configuration.
|
|
constexpr bool | playrho::d2::ShiftOrigin (DistanceJointConf &, Length2) noexcept |
| Shifts the origin notion of the given configuration.
|
|
bool | playrho::d2::SolvePosition (const DistanceJointConf &object, const Span< BodyConstraint > &bodies, const ConstraintSolverConf &conf) |
| Solves the position constraint. More...
|
|
bool | playrho::d2::SolveVelocity (DistanceJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step) |
| Solves velocity constraint. More...
|
|
Definition of the DistanceJointConf
class and closely related code.