PlayRho  2.0.0
An interactive physics engine & library.
PulleyJointConf.hpp File Reference

Definition of the PulleyJointConf class and closely related code. More...

Include dependency graph for PulleyJointConf.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  playrho::d2::PulleyJointConf
 Pulley joint definition. More...
 
struct  playrho::detail::TypeInfo< playrho::d2::PulleyJointConf >
 Type info specialization for d2::PulleyJointConf. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

constexpr AngularMomentum playrho::d2::GetAngularReaction (const PulleyJointConf &) noexcept
 Gets the current angular reaction of the given configuration.
 
constexpr auto playrho::d2::GetLengthA (const PulleyJointConf &object) noexcept
 Free function for getting the length A value of the given configuration.
 
constexpr auto playrho::d2::GetLengthB (const PulleyJointConf &object) noexcept
 Free function for getting the length B value of the given configuration.
 
constexpr Momentum2 playrho::d2::GetLinearReaction (const PulleyJointConf &object) noexcept
 Gets the current linear reaction of the given configuration.
 
PulleyJointConf playrho::d2::GetPulleyJointConf (const Joint &joint)
 Gets the definition data for the given joint. More...
 
PulleyJointConf playrho::d2::GetPulleyJointConf (const World &world, BodyID bA, BodyID bB, const Length2 &groundA, const Length2 &groundB, const Length2 &anchorA, const Length2 &anchorB)
 Gets the configuration for the given parameters. More...
 
void playrho::d2::InitVelocity (PulleyJointConf &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 PulleyJointConf &lhs, const PulleyJointConf &rhs) noexcept
 Inequality operator.
 
constexpr bool playrho::d2::operator== (const PulleyJointConf &lhs, const PulleyJointConf &rhs) noexcept
 Equality operator.
 
constexpr auto playrho::d2::SetRatio (PulleyJointConf &object, Real value) noexcept
 Free function for setting the ratio value of the given configuration.
 
bool playrho::d2::ShiftOrigin (PulleyJointConf &object, const Length2 &newOrigin) noexcept
 Shifts the origin notion of the given configuration.
 
bool playrho::d2::SolvePosition (const PulleyJointConf &object, const Span< BodyConstraint > &bodies, const ConstraintSolverConf &conf)
 Solves the position constraint. More...
 
bool playrho::d2::SolveVelocity (PulleyJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step)
 Solves velocity constraint. More...
 

Detailed Description

Definition of the PulleyJointConf class and closely related code.