Data for a point of collision in a Manifold. More...
#include <Manifold.hpp>
Public Attributes | |
Length2 | localPoint |
Local point. More... | |
ContactFeature | contactFeature |
Contact feature. More... | |
Momentum | normalImpulse = 0_Ns |
Normal impulse. More... | |
Momentum | tangentImpulse = 0_Ns |
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 equal. | |
bool | operator!= (const Manifold::Point &lhs, const Manifold::Point &rhs) noexcept |
Determines whether the two given manifold points are not 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 |
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 = 0_Ns |
Normal impulse.
This is the non-penetration impulse.
Momentum playrho::d2::Manifold::Point::tangentImpulse = 0_Ns |
Tangent impulse.
This is the friction impulse.