#include <JointKey.hpp>
Public Member Functions | |
| constexpr BodyID | GetBody1 () const noexcept |
| Gets body 1. | |
| constexpr BodyID | GetBody2 () const |
| Gets body 2. | |
Static Public Member Functions | |
| static constexpr JointKey | Get (BodyID bodyA, BodyID bodyB) noexcept |
Gets the JointKey for the given bodies. | |
Private Member Functions | |
| constexpr | JointKey (BodyID body1, BodyID body2) |
| Initializing constructor. | |
Private Attributes | |
| BodyID | m_body1 |
| Identifier of body 1. More... | |
| BodyID | m_body2 |
| Identifier of body 2. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| constexpr bool | IsFor (const JointKey key, BodyID body) noexcept |
| Determines whether the given key is for the given body. | |
Joint key.
|
private |
Identifier of body 1.
This is the body with the lower-than or equal-to address.
Referenced by GetBody1().
|
private |
Identifier of body 2.
This is the body with the higher-than or equal-to address.
Referenced by GetBody2().