|
constexpr AngularMomentum | playrho::d2::GetAngularReaction (const GearJointConf &object) |
| Gets the current angular reaction for the given configuration.
|
|
constexpr auto | playrho::d2::GetConstant (const GearJointConf &object) noexcept |
| Free function for getting the constant value of the given configuration.
|
|
GearJointConf | playrho::d2::GetGearJointConf (const Joint &joint) |
| Gets the definition data for the given joint. More...
|
|
GearJointConf | playrho::d2::GetGearJointConf (const World &world, JointID id1, JointID id2, Real ratio=Real{1}) |
| Gets the configuration for the given parameters. More...
|
|
constexpr Momentum2 | playrho::d2::GetLinearReaction (const GearJointConf &object) |
| Gets the current linear reaction for the given configuration.
|
|
Length2 | playrho::d2::GetLocalAnchorA (const GearJointConf &conf) |
| Gets the local anchor A property of the given joint.
|
|
Length2 | playrho::d2::GetLocalAnchorB (const GearJointConf &conf) |
| Gets the local anchor B property of the given joint.
|
|
constexpr auto | playrho::d2::GetRatio (const GearJointConf &object) noexcept |
| Free function for getting the ratio value of the given configuration.
|
|
TypeID | playrho::d2::GetTypeAC (const GearJointConf &object) noexcept |
| Free function for getting joint 1 type value of the given configuration.
|
|
TypeID | playrho::d2::GetTypeBD (const GearJointConf &object) noexcept |
| Free function for getting joint 2 type value of the given configuration.
|
|
void | playrho::d2::InitVelocity (GearJointConf &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 GearJointConf &lhs, const GearJointConf &rhs) noexcept |
| Inequality operator.
|
|
constexpr bool | playrho::d2::operator!= (const GearJointConf::PrismaticData &lhs, const GearJointConf::PrismaticData &rhs) noexcept |
| Not equals operator.
|
|
constexpr bool | playrho::d2::operator!= (const GearJointConf::RevoluteData &lhs, const GearJointConf::RevoluteData &rhs) noexcept |
| Not equals operator.
|
|
constexpr bool | playrho::d2::operator== (const GearJointConf &lhs, const GearJointConf &rhs) noexcept |
| Equality operator.
|
|
constexpr bool | playrho::d2::operator== (const GearJointConf::PrismaticData &lhs, const GearJointConf::PrismaticData &rhs) noexcept |
| Equals operator.
|
|
constexpr bool | playrho::d2::operator== (const GearJointConf::RevoluteData &lhs, const GearJointConf::RevoluteData &rhs) noexcept |
| Equals operator.
|
|
constexpr auto | playrho::d2::SetRatio (GearJointConf &object, Real value) noexcept |
| Free function for setting the ratio value of the given configuration.
|
|
constexpr bool | playrho::d2::ShiftOrigin (GearJointConf &, const Length2 &) noexcept |
| Shifts the origin notion of the given configuration.
|
|
bool | playrho::d2::SolvePosition (const GearJointConf &object, const Span< BodyConstraint > &bodies, const ConstraintSolverConf &conf) |
| Solves the position constraint. More...
|
|
bool | playrho::d2::SolveVelocity (GearJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step) |
| Solves velocity constraint. More...
|
|
Definition of the GearJointConf
class and closely related code.