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

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

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

Classes

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

Namespaces

 playrho
 
 playrho::d2
 

Functions

AngularMomentum playrho::d2::GetAngularReaction (const PrismaticJointConf &conf)
 Gets the current angular reaction of the given configuration.
 
constexpr auto playrho::d2::GetLinearLowerLimit (const PrismaticJointConf &conf) noexcept
 Free function for getting the linear lower limit value of the given configuration.
 
Momentum2 playrho::d2::GetLinearReaction (const PrismaticJointConf &conf)
 Gets the current linear reaction of the given configuration.
 
constexpr auto playrho::d2::GetLinearUpperLimit (const PrismaticJointConf &conf) noexcept
 Free function for getting the linear upper limit value of the given configuration.
 
LinearVelocity playrho::d2::GetLinearVelocity (const World &world, const PrismaticJointConf &joint) noexcept
 Gets the current linear velocity of the given configuration. More...
 
PrismaticJointConf playrho::d2::GetPrismaticJointConf (const Joint &joint)
 Gets the definition data for the given joint. More...
 
PrismaticJointConf playrho::d2::GetPrismaticJointConf (const World &world, BodyID bA, BodyID bB, const Length2 &anchor, const UnitVec &axis)
 Gets the configuration for the given parameters. More...
 
void playrho::d2::InitVelocity (PrismaticJointConf &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 PrismaticJointConf &lhs, const PrismaticJointConf &rhs) noexcept
 Inequality operator.
 
constexpr bool playrho::d2::operator== (const PrismaticJointConf &lhs, const PrismaticJointConf &rhs) noexcept
 Equality operator.
 
constexpr void playrho::d2::SetLinearLimits (PrismaticJointConf &conf, Length lower, Length upper) noexcept
 Free function for setting the linear limits of the given configuration.
 
constexpr void playrho::d2::SetMaxMotorForce (PrismaticJointConf &object, Force value)
 Free function for setting the maximum motor torque value of the given configuration.
 
constexpr auto playrho::d2::ShiftOrigin (PrismaticJointConf &, const Length2 &) noexcept
 Shifts the origin notion of the given configuration.
 
bool playrho::d2::SolvePosition (const PrismaticJointConf &object, const Span< BodyConstraint > &bodies, const ConstraintSolverConf &conf)
 Solves the position constraint. More...
 
bool playrho::d2::SolveVelocity (PrismaticJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step)
 Solves velocity constraint. More...
 

Detailed Description

Definition of the PrismaticJointConf class and closely related code.