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

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

Include dependency graph for EdgeShapeConf.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  playrho::d2::EdgeShapeConf
 Edge shape configuration. More...
 
struct  playrho::detail::TypeInfo< playrho::d2::EdgeShapeConf >
 Type info specialization for playrho::d2::EdgeShapeConf. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

DistanceProxy playrho::d2::GetChild (const EdgeShapeConf &arg, ChildCounter index)
 Gets the "child" shape for the given shape configuration.
 
constexpr ChildCounter playrho::d2::GetChildCount (const EdgeShapeConf &) noexcept
 Gets the "child" count for the given shape configuration. More...
 
MassData playrho::d2::GetMassData (const EdgeShapeConf &arg)
 Gets the mass data for the given shape configuration.
 
NonNegative< Length > playrho::d2::GetVertexRadius (const EdgeShapeConf &arg) noexcept
 Gets the vertex radius of the given shape configuration.
 
NonNegative< Length > playrho::d2::GetVertexRadius (const EdgeShapeConf &arg, ChildCounter) noexcept
 Gets the vertex radius of the given shape configuration.
 
bool playrho::d2::operator!= (const EdgeShapeConf &lhs, const EdgeShapeConf &rhs) noexcept
 Inequality operator.
 
bool playrho::d2::operator== (const EdgeShapeConf &lhs, const EdgeShapeConf &rhs) noexcept
 Equality operator.
 
void playrho::d2::Rotate (EdgeShapeConf &arg, const UnitVec &value) noexcept
 Rotates the given shape's vertices by the given amount.
 
void playrho::d2::Scale (EdgeShapeConf &arg, const Vec2 &value) noexcept
 Scales the given shape's vertices by the given amount.
 
void playrho::d2::SetVertexRadius (EdgeShapeConf &arg, ChildCounter, NonNegative< Length > value)
 Sets the vertex radius of the shape for the given index.
 
void playrho::d2::SetVertexRadius (EdgeShapeConf &arg, NonNegative< Length > value)
 Sets the vertex radius of the shape.
 
void playrho::d2::Translate (EdgeShapeConf &arg, const Length2 &value) noexcept
 Translates the given shape's vertices by the given amount.
 

Detailed Description

Definition of the EdgeShapeConf class and closely related code.