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

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

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

Classes

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

Namespaces

 playrho
 
 playrho::d2
 

Functions

constexpr AngularMomentum playrho::d2::GetAngularReaction (const RopeJointConf &) noexcept
 Gets the current angular reaction of the given configuration.
 
constexpr Momentum2 playrho::d2::GetLinearReaction (const RopeJointConf &object) noexcept
 Gets the current linear reaction of the given configuration.
 
constexpr auto playrho::d2::GetMaxLength (const RopeJointConf &object) noexcept
 Free function for getting the maximum length value of the given configuration.
 
RopeJointConf playrho::d2::GetRopeJointConf (const Joint &joint)
 Gets the definition data for the given joint. More...
 
void playrho::d2::InitVelocity (RopeJointConf &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 RopeJointConf &lhs, const RopeJointConf &rhs) noexcept
 Inequality operator.
 
constexpr bool playrho::d2::operator== (const RopeJointConf &lhs, const RopeJointConf &rhs) noexcept
 Equality operator.
 
constexpr auto playrho::d2::SetMaxLength (RopeJointConf &object, Length value) noexcept
 Free function for setting the maximum length value of the given configuration.
 
constexpr auto playrho::d2::ShiftOrigin (RopeJointConf &, const Length2 &) noexcept
 Shifts the origin notion of the given configuration.
 
bool playrho::d2::SolvePosition (const RopeJointConf &object, const Span< BodyConstraint > &bodies, const ConstraintSolverConf &conf)
 Solves the position constraint. More...
 
bool playrho::d2::SolveVelocity (RopeJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step)
 Solves velocity constraint. More...
 

Detailed Description

Definition of the RopeJointConf class and closely related code.