playrho::d2::PositionConstraint Class Reference
#include <PositionConstraint.hpp>
Public Types | |
using | size_type = std::remove_const< decltype(MaxManifoldPoints)>::type |
Size type. More... | |
Public Member Functions | |
PositionConstraint ()=default | |
PositionConstraint (const Manifold &m, BodyConstraint &bA, Length rA, BodyConstraint &bB, Length rB) | |
Initializing constructor. More... | |
BodyConstraint * | GetBodyA () const noexcept |
Gets body A. More... | |
BodyConstraint * | GetBodyB () const noexcept |
Gets body B. More... | |
Length | GetRadiusA () const noexcept |
Gets radius A. More... | |
Length | GetRadiusB () const noexcept |
Gets radius B. More... | |
Public Attributes | |
Manifold | manifold |
Copy of contact's manifold with 1 or more contact points (64-bytes). More... | |
Detailed Description
- Note
- This structure is 88-bytes large on at least one 64-bit platform.
Definition at line 31 of file PositionConstraint.hpp.
Member Typedef Documentation
◆ size_type
using playrho::d2::PositionConstraint::size_type = std::remove_const<decltype(MaxManifoldPoints)>::type |
Size type.
Definition at line 35 of file PositionConstraint.hpp.
Constructor & Destructor Documentation
◆ PositionConstraint() [1/2]
|
default |
◆ PositionConstraint() [2/2]
|
inline |
Initializing constructor.
Definition at line 40 of file PositionConstraint.hpp.
Member Function Documentation
◆ GetBodyA()
|
inlinenoexcept |
Gets body A.
Definition at line 54 of file PositionConstraint.hpp.
◆ GetBodyB()
|
inlinenoexcept |
Gets body B.
Definition at line 57 of file PositionConstraint.hpp.
◆ GetRadiusA()
|
inlinenoexcept |
Gets radius A.
Definition at line 60 of file PositionConstraint.hpp.
◆ GetRadiusB()
|
inlinenoexcept |
Gets radius B.
Definition at line 63 of file PositionConstraint.hpp.
Member Data Documentation
◆ manifold
Manifold playrho::d2::PositionConstraint::manifold |
Copy of contact's manifold with 1 or more contact points (64-bytes).
Definition at line 51 of file PositionConstraint.hpp.
The documentation for this class was generated from the following file:
- Dynamics/Contacts/PositionConstraint.hpp