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

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

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

Classes

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

Namespaces

 playrho
 
 playrho::d2
 

Functions

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

Detailed Description

Definition of the WeldJointConf class and closely related code.