Contact.hpp File Reference
#include <PlayRho/Common/Math.hpp>#include <PlayRho/Collision/Manifold.hpp>#include <PlayRho/Collision/Distance.hpp>#include <PlayRho/Collision/TimeOfImpact.hpp>#include <PlayRho/Collision/Shapes/Shape.hpp>Go to the source code of this file.
Classes | |
| class | playrho::d2::Contact |
| A potential contact between the children of two Fixture objects. More... | |
| struct | playrho::d2::Contact::UpdateConf |
| Update configuration. More... | |
Namespaces | |
| playrho | |
| playrho::d2 | |
Typedefs | |
| using | playrho::d2::ContactPtr = Contact * |
| Contact pointer type. More... | |
Functions | |
| Real | playrho::MixFriction (Real friction1, Real friction2) |
| Mixes friction. More... | |
| Real | playrho::MixRestitution (Real restitution1, Real restitution2) noexcept |
| Mixes restitution. More... | |
| Body * | playrho::d2::GetBodyA (const Contact &contact) noexcept |
| Gets the body A associated with the given contact. More... | |
| Body * | playrho::d2::GetBodyB (const Contact &contact) noexcept |
| Gets the body B associated with the given contact. More... | |
| Fixture * | playrho::d2::GetFixtureA (const Contact &contact) noexcept |
| Gets the fixture A associated with the given contact. More... | |
| Fixture * | playrho::d2::GetFixtureB (const Contact &contact) noexcept |
| Gets the fixture B associated with the given contact. More... | |
| ChildCounter | playrho::d2::GetChildIndexA (const Contact &contact) noexcept |
| Gets the child index A of the given contact. More... | |
| ChildCounter | playrho::d2::GetChildIndexB (const Contact &contact) noexcept |
| Gets the child index B of the given contact. More... | |
| bool | playrho::d2::HasSensor (const Contact &contact) noexcept |
| Whether the given contact has a sensor. More... | |
| bool | playrho::d2::IsImpenetrable (const Contact &contact) noexcept |
| Whether the given contact is "impenetrable". More... | |
| bool | playrho::d2::IsActive (const Contact &contact) noexcept |
| Determines whether the given contact is "active". More... | |
| void | playrho::d2::SetAwake (const Contact &c) noexcept |
| Sets awake the fixtures of the given contact. More... | |
| void | playrho::d2::ResetFriction (Contact &contact) |
| Resets the friction mixture to the default value. More... | |
| void | playrho::d2::ResetRestitution (Contact &contact) noexcept |
| Reset the restitution to the default value. More... | |
| TOIOutput | playrho::d2::CalcToi (const Contact &contact, ToiConf conf) |
| Calculates the Time Of Impact for the given contact with the given configuration. More... | |

