Contact.cpp File Reference
#include <PlayRho/Dynamics/Contacts/Contact.hpp>#include <PlayRho/Collision/Collision.hpp>#include <PlayRho/Collision/Distance.hpp>#include <PlayRho/Collision/DistanceProxy.hpp>#include <PlayRho/Collision/Shapes/Shape.hpp>#include <PlayRho/Dynamics/Body.hpp>#include <PlayRho/Dynamics/Fixture.hpp>#include <PlayRho/Dynamics/World.hpp>#include <PlayRho/Dynamics/StepConf.hpp>Go to the source code of this file.
Namespaces | |
| playrho | |
| playrho::d2 | |
Macros | |
| #define | OVERLAP_TOLERANCE (SquareMeter / Real(20)) |
Functions | |
| 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... | |
| 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... | |
Macro Definition Documentation
◆ OVERLAP_TOLERANCE
| #define OVERLAP_TOLERANCE (SquareMeter / Real(20)) |

