DiskShapeConf.hpp File Reference

Go to the source code of this file.

Classes

struct  playrho::d2::DiskShapeConf
 Disk shape configuration. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

bool playrho::d2::operator== (const DiskShapeConf &lhs, const DiskShapeConf &rhs) noexcept
 Equality operator. More...
 
bool playrho::d2::operator!= (const DiskShapeConf &lhs, const DiskShapeConf &rhs) noexcept
 Inequality operator. More...
 
PLAYRHO_CONSTEXPR ChildCounter playrho::d2::GetChildCount (const DiskShapeConf &) noexcept
 Gets the "child" count of the given disk shape configuration. More...
 
DistanceProxy playrho::d2::GetChild (const DiskShapeConf &arg, ChildCounter index)
 Gets the "child" of the given disk shape configuration. More...
 
PLAYRHO_CONSTEXPR NonNegative< Length > playrho::d2::GetVertexRadius (const DiskShapeConf &arg) noexcept
 Gets the vertex radius of the given shape configuration. More...
 
PLAYRHO_CONSTEXPR NonNegative< Length > playrho::d2::GetVertexRadius (const DiskShapeConf &arg, ChildCounter) noexcept
 Gets the vertex radius of the given shape configuration. More...
 
MassData playrho::d2::GetMassData (const DiskShapeConf &arg) noexcept
 Gets the mass data of the given disk shape configuration. More...
 
void playrho::d2::Transform (DiskShapeConf &arg, const Mat22 &m) noexcept
 Transforms the given shape configuration's vertices by the given transformation matrix. More...