VelocityConstraint.hpp File Reference

Go to the source code of this file.

Classes

class  playrho::d2::VelocityConstraint
 
struct  playrho::d2::VelocityConstraint::Conf
 Configuration data for velocity constraints. More...
 
struct  playrho::d2::VelocityConstraint::Point
 Velocity constraint point. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

VelocityConstraint::Conf playrho::d2::GetRegVelocityConstraintConf (const StepConf &conf) noexcept
 Gets the regular phase velocity constraint configuration from the given step configuration. More...
 
VelocityConstraint::Conf playrho::d2::GetToiVelocityConstraintConf (const StepConf &conf) noexcept
 Gets the TOI phase velocity constraint configuration from the given step configuration. More...
 
UnitVec playrho::d2::GetNormal (const VelocityConstraint &vc) noexcept
 
UnitVec playrho::d2::GetTangent (const VelocityConstraint &vc) noexcept
 Gets the tangent from the given velocity constraint data. More...
 
InvMass playrho::d2::GetInvMass (const VelocityConstraint &vc) noexcept
 Gets the inverse mass from the given velocity constraint data. More...
 
Length2 playrho::d2::GetPointRelPosA (const VelocityConstraint &vc, VelocityConstraint::size_type index)
 Gets the point relative position A data. More...
 
Length2 playrho::d2::GetPointRelPosB (const VelocityConstraint &vc, VelocityConstraint::size_type index)
 Gets the point relative position B data. More...
 
LinearVelocity playrho::d2::GetVelocityBiasAtPoint (const VelocityConstraint &vc, VelocityConstraint::size_type index)
 Gets the velocity bias at the given point from the given velocity constraint. More...
 
Mass playrho::d2::GetNormalMassAtPoint (const VelocityConstraint &vc, VelocityConstraint::size_type index)
 Gets the normal mass at the given point from the given velocity constraint. More...
 
Mass playrho::d2::GetTangentMassAtPoint (const VelocityConstraint &vc, VelocityConstraint::size_type index)
 Gets the tangent mass at the given point from the given velocity constraint. More...
 
Momentum playrho::d2::GetNormalImpulseAtPoint (const VelocityConstraint &vc, VelocityConstraint::size_type index)
 Gets the normal impulse at the given point from the given velocity constraint. More...
 
Momentum playrho::d2::GetTangentImpulseAtPoint (const VelocityConstraint &vc, VelocityConstraint::size_type index)
 Gets the tangent impulse at the given point from the given velocity constraint. More...
 
Momentum2 playrho::d2::GetNormalImpulses (const VelocityConstraint &vc)
 Gets the normal impulses of the given velocity constraint. More...
 
Momentum2 playrho::d2::GetTangentImpulses (const VelocityConstraint &vc)
 Gets the tangent impulses of the given velocity constraint. More...
 
void playrho::d2::SetNormalImpulseAtPoint (VelocityConstraint &vc, VelocityConstraint::size_type index, Momentum value)
 Sets the normal impulse at the given point of the given velocity constraint. More...
 
void playrho::d2::SetTangentImpulseAtPoint (VelocityConstraint &vc, VelocityConstraint::size_type index, Momentum value)
 Sets the tangent impulse at the given point of the given velocity constraint. More...
 
void playrho::d2::SetNormalImpulses (VelocityConstraint &vc, const Momentum2 impulses)
 Sets the normal impulses of the given velocity constraint. More...
 
void playrho::d2::SetTangentImpulses (VelocityConstraint &vc, const Momentum2 impulses)
 Sets the tangent impulses of the given velocity constraint. More...