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

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

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

Classes

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

Namespaces

 playrho
 
 playrho::d2
 

Functions

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

Detailed Description

Definition of the DiskShapeConf class and closely related code.