PlayRho  2.0.0
An interactive physics engine & library.
playrho::Contactable Struct Reference

Aggregate data for identifying one side (of two) in a contact. More...

#include <playrho/Contactable.hpp>

Collaboration diagram for playrho::Contactable:
[legend]

Public Attributes

BodyID bodyId
 Identifier of the contactable body.
 
ChildCounter childId
 Child index of contactable Shape.
 
ShapeID shapeId
 Identifier of the contactable shape.
 

Related Functions

(Note that these are not member functions.)

constexpr bool operator!= (const Contactable &lhs, const Contactable &rhs) noexcept
 Inequality operator.
 
constexpr bool operator< (const Contactable &lhs, const Contactable &rhs) noexcept
 Less-than operator.
 
auto operator<< (std::ostream &os, const Contactable &c) -> std::ostream &
 Output stream operator support.
 
constexpr bool operator== (const Contactable &lhs, const Contactable &rhs) noexcept
 Equality operator.
 

Detailed Description

Aggregate data for identifying one side (of two) in a contact.

See also
Contact.

The documentation for this struct was generated from the following file: