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

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

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

Classes

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

Namespaces

 playrho
 
 playrho::d2
 

Functions

constexpr auto playrho::d2::GetAngularError (const MotorJointConf &object) noexcept
 Free function for getting the angular error value of the given configuration.
 
constexpr auto playrho::d2::GetAngularOffset (const MotorJointConf &object) noexcept
 Free function for getting the angular offset value of the given configuration.
 
constexpr auto playrho::d2::GetCorrectionFactor (const MotorJointConf &object) noexcept
 Free function for getting the correction factor value of the given configuration.
 
constexpr auto playrho::d2::GetLinearError (const MotorJointConf &object) noexcept
 Free function for getting the linear error value of the given configuration.
 
constexpr auto playrho::d2::GetLinearOffset (const MotorJointConf &object) noexcept
 Free function for getting the linear offset value of the given configuration.
 
constexpr auto playrho::d2::GetLocalAnchorA (const MotorJointConf &) noexcept
 Gets the local anchor A.
 
constexpr auto playrho::d2::GetLocalAnchorB (const MotorJointConf &) noexcept
 Gets the local anchor B.
 
constexpr auto playrho::d2::GetMaxForce (const MotorJointConf &object) noexcept
 Free function for getting the maximum force value of the given configuration.
 
constexpr auto playrho::d2::GetMaxTorque (const MotorJointConf &object) noexcept
 Free function for getting the maximum torque value of the given configuration.
 
MotorJointConf playrho::d2::GetMotorJointConf (const Joint &joint)
 Gets the definition data for the given joint. More...
 
MotorJointConf playrho::d2::GetMotorJointConf (const World &world, BodyID bA, BodyID bB)
 Gets the confguration for the given parameters. More...
 
void playrho::d2::InitVelocity (MotorJointConf &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 MotorJointConf &lhs, const MotorJointConf &rhs) noexcept
 Inequality operator.
 
constexpr bool playrho::d2::operator== (const MotorJointConf &lhs, const MotorJointConf &rhs) noexcept
 Equality operator.
 
constexpr auto playrho::d2::SetAngularOffset (MotorJointConf &object, Angle value) noexcept
 Free function for setting the angular offset value of the given configuration.
 
constexpr auto playrho::d2::SetCorrectionFactor (MotorJointConf &object, Real value) noexcept
 Free function for setting the correction factor value of the given configuration.
 
constexpr auto playrho::d2::SetLinearOffset (MotorJointConf &object, const Length2 &value) noexcept
 Free function for setting the linear offset value of the given configuration.
 
constexpr auto playrho::d2::SetMaxForce (MotorJointConf &object, NonNegative< Force > value) noexcept
 Free function for setting the maximum force value of the given configuration.
 
constexpr auto playrho::d2::SetMaxTorque (MotorJointConf &object, NonNegative< Torque > value) noexcept
 Free function for setting the maximum torque value of the given configuration.
 
constexpr auto playrho::d2::ShiftOrigin (MotorJointConf &, const Length2 &) noexcept
 Shifts the origin notion of the given configuration.
 
bool playrho::d2::SolvePosition (const MotorJointConf &object, const Span< BodyConstraint > &bodies, const ConstraintSolverConf &conf)
 Solves the position constraint. More...
 
bool playrho::d2::SolveVelocity (MotorJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step)
 Solves velocity constraint. More...
 

Detailed Description

Definition of the MotorJointConf class and closely related code.