The per-contact position constraint data structure. More...
#include <PositionConstraint.hpp>
Public Member Functions | |
PositionConstraint (const Manifold &m, BodyID bA, BodyID bB, Length radius) | |
Initializing constructor. | |
BodyID | GetBodyA () const noexcept |
Gets body A. | |
BodyID | GetBodyB () const noexcept |
Gets body B. | |
Length | GetTotalRadius () const noexcept |
Gets total radius - i.e. combined radius of shapes of fixtures A and B. | |
Public Attributes | |
Manifold | manifold |
Copy of contact's manifold with 1 or more contact points (64-bytes). | |
Private Attributes | |
BodyID | m_bodyA |
Identifier for body-A. | |
BodyID | m_bodyB |
Identifier for body-B. | |
Length | m_totalRadius |
Total "Radius" distance of the associated shapes of fixture A and fixture B. More... | |
The per-contact position constraint data structure.
|
private |
Total "Radius" distance of the associated shapes of fixture A and fixture B.
Referenced by GetTotalRadius().