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

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

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

Classes

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

Namespaces

 playrho
 
 playrho::d2
 

Functions

Angle playrho::d2::GetAngle (const World &world, const RevoluteJointConf &conf)
 Gets the current angle of the given configuration in the given world. More...
 
constexpr Angle playrho::d2::GetAngularLowerLimit (const RevoluteJointConf &conf) noexcept
 Free function for getting the angular lower limit value of the given configuration.
 
constexpr AngularMomentum playrho::d2::GetAngularReaction (const RevoluteJointConf &conf) noexcept
 Gets the current angular reaction of the given configuration.
 
constexpr Angle playrho::d2::GetAngularUpperLimit (const RevoluteJointConf &conf) noexcept
 Free function for getting the angular upper limit value of the given configuration.
 
AngularVelocity playrho::d2::GetAngularVelocity (const World &world, const RevoluteJointConf &conf)
 Gets the current angular velocity of the given configuration. More...
 
constexpr Momentum2 playrho::d2::GetLinearReaction (const RevoluteJointConf &conf) noexcept
 Gets the current linear reaction of the given configuration.
 
RevoluteJointConf playrho::d2::GetRevoluteJointConf (const Joint &joint)
 Gets the definition data for the given joint. More...
 
RevoluteJointConf playrho::d2::GetRevoluteJointConf (const World &world, BodyID bodyA, BodyID bodyB, const Length2 &anchor)
 Gets the configuration for the given parameters. More...
 
void playrho::d2::InitVelocity (RevoluteJointConf &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 RevoluteJointConf &lhs, const RevoluteJointConf &rhs) noexcept
 Inequality operator.
 
constexpr bool playrho::d2::operator== (const RevoluteJointConf &lhs, const RevoluteJointConf &rhs) noexcept
 Equality operator.
 
constexpr void playrho::d2::SetAngularLimits (RevoluteJointConf &object, Angle lower, Angle upper) noexcept
 Free function for setting the angular limits of the given configuration.
 
constexpr void playrho::d2::SetMaxMotorTorque (RevoluteJointConf &object, Torque value)
 Free function for setting the max motor torque of the given configuration.
 
constexpr auto playrho::d2::ShiftOrigin (RevoluteJointConf &, const Length2 &) noexcept
 Shifts the origin notion of the given configuration.
 
bool playrho::d2::SolvePosition (const RevoluteJointConf &object, const Span< BodyConstraint > &bodies, const ConstraintSolverConf &conf)
 Solves the position constraint. More...
 
bool playrho::d2::SolveVelocity (RevoluteJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step)
 Solves velocity constraint. More...
 

Detailed Description

Definition of the RevoluteJointConf class and closely related code.