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

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

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

Classes

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

Namespaces

 playrho
 
 playrho::d2
 

Functions

AngularVelocity playrho::d2::GetAngularVelocity (const World &world, const WheelJointConf &conf)
 Gets the angular velocity for the given configuration within the specified world. More...
 
constexpr Momentum2 playrho::d2::GetLinearReaction (const WheelJointConf &object)
 Gets the current linear reaction for the given configuration.
 
WheelJointConf playrho::d2::GetWheelJointConf (const Joint &joint)
 Gets the definition data for the given joint. More...
 
WheelJointConf playrho::d2::GetWheelJointConf (const World &world, BodyID bodyA, BodyID bodyB, const Length2 &anchor, const UnitVec &axis=UnitVec::GetRight())
 Gets the definition data for the given parameters. More...
 
void playrho::d2::InitVelocity (WheelJointConf &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 WheelJointConf &lhs, const WheelJointConf &rhs) noexcept
 Inequality operator.
 
constexpr bool playrho::d2::operator== (const WheelJointConf &lhs, const WheelJointConf &rhs) noexcept
 Equality operator.
 
constexpr void playrho::d2::SetDampingRatio (WheelJointConf &object, Real value) noexcept
 Free function for setting the damping ratio of the given configuration.
 
constexpr void playrho::d2::SetFrequency (WheelJointConf &object, NonNegative< Frequency > value) noexcept
 Free function for setting the frequency of the given configuration.
 
constexpr void playrho::d2::SetMaxMotorTorque (WheelJointConf &object, Torque value) noexcept
 Sets the maximum motor torque for the given configuration.
 
constexpr auto playrho::d2::ShiftOrigin (WheelJointConf &, const Length2 &)
 Shifts the origin notion of the given configuration.
 
bool playrho::d2::SolvePosition (const WheelJointConf &object, const Span< BodyConstraint > &bodies, const ConstraintSolverConf &conf)
 Solves the position constraint. More...
 
bool playrho::d2::SolveVelocity (WheelJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step)
 Solves velocity constraint. More...
 

Detailed Description

Definition of the WheelJointConf class and closely related code.