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

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

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

Classes

struct  playrho::d2::MultiShapeConf
 The "multi-shape" shape configuration. More...
 
struct  playrho::detail::TypeInfo< playrho::d2::MultiShapeConf >
 Type info specialization for playrho::d2::MultiShapeConf. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

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

Detailed Description

Definition of the MultiShapeConf class and closely related code.