PlayRho  2.0.0
An interactive physics engine & library.
ContactFeature.hpp File Reference

Definition of the ContactFeature class and closely related code. More...

#include <cstdint>
#include <ostream>
#include <playrho/Settings.hpp>
Include dependency graph for ContactFeature.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  playrho::ContactFeature
 The contact feature. More...
 

Namespaces

 playrho
 

Functions

constexpr ContactFeature playrho::Flip (ContactFeature val) noexcept
 Flips contact features information.
 
constexpr ContactFeature playrho::GetFaceFaceContactFeature (ContactFeature::Index a, ContactFeature::Index b) noexcept
 Gets the face face contact feature for the given indices.
 
constexpr ContactFeature playrho::GetFaceVertexContactFeature (ContactFeature::Index a, ContactFeature::Index b) noexcept
 Gets the face vertex contact feature for the given indices.
 
constexpr const char * playrho::GetName (ContactFeature::Type type) noexcept
 Gets the human readable name for the given contact feature type.
 
constexpr ContactFeature playrho::GetVertexFaceContactFeature (ContactFeature::Index a, ContactFeature::Index b) noexcept
 Gets the vertex face contact feature for the given indices.
 
constexpr ContactFeature playrho::GetVertexVertexContactFeature (ContactFeature::Index a, ContactFeature::Index b) noexcept
 Gets the vertex vertex contact feature for the given indices.
 
constexpr bool playrho::operator!= (ContactFeature lhs, ContactFeature rhs) noexcept
 Determines if the given two contact features are not equal.
 
inline ::std::ostream & playrho::operator<< (::std::ostream &os, const ContactFeature &value)
 Stream output operator.
 
constexpr bool playrho::operator== (ContactFeature lhs, ContactFeature rhs) noexcept
 Determines if the given two contact features are equal.
 

Detailed Description

Definition of the ContactFeature class and closely related code.