Manifold.hpp File Reference

Go to the source code of this file.

Classes

class  playrho::d2::Manifold
 A collision response oriented description of the intersection of two convex shapes. More...
 
struct  playrho::d2::Manifold::Point
 Data for a point of collision in a Manifold. More...
 
struct  playrho::d2::Manifold::Conf
 Configuration data for manifold calculation. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

PLAYRHO_CONSTEXPR Manifold::Conf playrho::d2::GetDefaultManifoldConf () noexcept
 Gets the default manifold configuration. More...
 
bool playrho::d2::operator== (const Manifold::Point &lhs, const Manifold::Point &rhs) noexcept
 Determines whether the two given manifold points are equal. More...
 
bool playrho::d2::operator!= (const Manifold::Point &lhs, const Manifold::Point &rhs) noexcept
 Determines whether the two given manifold points are not equal. More...
 
bool playrho::d2::operator== (const Manifold &lhs, const Manifold &rhs) noexcept
 Manifold equality operator. More...
 
bool playrho::d2::operator!= (const Manifold &lhs, const Manifold &rhs) noexcept
 Manifold inequality operator. More...
 
Manifold playrho::d2::GetManifold (bool flipped, const DistanceProxy &shape0, const Transformation &xf0, const VertexCounter idx0, const DistanceProxy &shape1, const Transformation &xf1, const VertexCounter2 indices1, const Manifold::Conf conf)
 Gets a face-to-face based manifold. More...
 
Manifold playrho::d2::GetManifold (bool flipped, Length totalRadius, const DistanceProxy &shape, const Transformation &sxf, Length2 point, const Transformation &xfm)
 Computes manifolds for face-to-point collision. More...
 
Manifold playrho::d2::GetManifold (Length2 locationA, const Transformation &xfA, Length2 locationB, const Transformation &xfB, Length totalRadius) noexcept
 Gets a point-to-point based manifold. More...
 
Manifold playrho::d2::CollideShapes (const DistanceProxy &shapeA, const Transformation &xfA, const DistanceProxy &shapeB, const Transformation &xfB, Manifold::Conf conf=GetDefaultManifoldConf())
 Calculates the relevant collision manifold. More...
 
const char * playrho::d2::GetName (Manifold::Type type) noexcept
 Gets a unique name for the given manifold type. More...
 
template<>
PLAYRHO_CONSTEXPR bool playrho::IsValid (const d2::Manifold &value) noexcept
 Gets whether the given manifold is valid. More...