Data for a point of collision in a Manifold. More...
#include <playrho/d2/Manifold.hpp>
Public Attributes | |
ContactFeature | contactFeature {} |
The contact feature. More... | |
Length2 | localPoint {} |
Local point. More... | |
Momentum | normalImpulse {} |
Normal impulse. More... | |
Momentum | tangentImpulse {} |
Tangent impulse. More... | |
Related Functions | |
(Note that these are not member functions.) | |
bool | operator!= (const Manifold::Point &lhs, const Manifold::Point &rhs) noexcept |
Determines whether the two given manifold points are not equal. | |
bool | operator== (const Manifold::Point &lhs, const Manifold::Point &rhs) noexcept |
Determines whether the two given manifold points are equal. | |
Data for a point of collision in a Manifold.
This is a contact point belonging to a contact manifold. It holds details related to the geometry and dynamics of the contact points.
ContactFeature playrho::d2::Manifold::Point::contactFeature {} |
The contact feature.
Uniquely identifies a contact point between two shapes - A and B.
Length2 playrho::d2::Manifold::Point::localPoint {} |
Local point.
Usage depends on manifold type.
Referenced by playrho::d2::GetPSM().
Momentum playrho::d2::Manifold::Point::normalImpulse {} |
Normal impulse.
This is the non-penetration impulse.
Momentum playrho::d2::Manifold::Point::tangentImpulse {} |
Tangent impulse.
This is the friction impulse.