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

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

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

Classes

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

Namespaces

 playrho
 
 playrho::d2
 

Functions

constexpr AngularMomentum playrho::d2::GetAngularReaction (const TargetJointConf &)
 Gets the current angular reaction of the given configuration.
 
Mass22 playrho::d2::GetEffectiveMassMatrix (const TargetJointConf &object, const BodyConstraint &body) noexcept
 Gets the effective mass matrix for the given configuration and body information.
 
constexpr Momentum2 playrho::d2::GetLinearReaction (const TargetJointConf &object)
 Gets the current linear reaction of the given configuration.
 
constexpr auto playrho::d2::GetLocalAnchorA (const TargetJointConf &) noexcept
 Gets the local anchar A for the given configuration.
 
constexpr auto playrho::d2::GetMaxForce (const TargetJointConf &object) noexcept
 Free function for getting the maximum force value of the given configuration.
 
constexpr auto playrho::d2::GetTarget (const TargetJointConf &object) noexcept
 Free function for getting the target value of the given configuration.
 
TargetJointConf playrho::d2::GetTargetJointConf (const Joint &joint)
 Gets the definition data for the given joint. More...
 
void playrho::d2::InitVelocity (TargetJointConf &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 TargetJointConf &lhs, const TargetJointConf &rhs) noexcept
 Inequality operator.
 
constexpr bool playrho::d2::operator== (const TargetJointConf &lhs, const TargetJointConf &rhs) noexcept
 Equality operator.
 
constexpr void playrho::d2::SetDampingRatio (TargetJointConf &object, Real value) noexcept
 Free function for setting the damping ratio value of the given configuration.
 
constexpr void playrho::d2::SetFrequency (TargetJointConf &object, NonNegative< Frequency > value) noexcept
 Free function for setting the frequency value of the given configuration.
 
constexpr auto playrho::d2::SetMaxForce (TargetJointConf &object, NonNegative< Force > value) noexcept
 Free function for setting the maximum force value of the given configuration.
 
constexpr void playrho::d2::SetTarget (TargetJointConf &object, const Length2 &value) noexcept
 Free function for setting the target value of the given configuration.
 
constexpr bool playrho::d2::ShiftOrigin (TargetJointConf &object, const Length2 &newOrigin)
 Shifts the origin notion of the given configuration.
 
bool playrho::d2::SolvePosition (const TargetJointConf &object, const Span< BodyConstraint > &bodies, const ConstraintSolverConf &conf)
 Solves the position constraint. More...
 
bool playrho::d2::SolveVelocity (TargetJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step)
 Solves velocity constraint. More...
 

Detailed Description

Definition of the TargetJointConf class and closely related code.