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

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

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

Classes

struct  playrho::d2::BaseShapeConf
 Base configuration for initializing shapes. More...
 
struct  playrho::d2::ShapeBuilder< ConcreteConf >
 Builder configuration structure. More...
 
struct  playrho::d2::ShapeConf
 Shape configuration structure. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

constexpr NonNegative< AreaDensity > playrho::d2::GetDensity (const BaseShapeConf &arg) noexcept
 Gets the density of the given shape configuration.
 
constexpr Filter playrho::d2::GetFilter (const BaseShapeConf &arg) noexcept
 Gets the filter of the given shape configuration.
 
constexpr NonNegativeFF< Real > playrho::d2::GetFriction (const BaseShapeConf &arg) noexcept
 Gets the friction of the given shape.
 
constexpr Finite< Real > playrho::d2::GetRestitution (const BaseShapeConf &arg) noexcept
 Gets the restitution of the given shape.
 
constexpr bool playrho::d2::IsSensor (const BaseShapeConf &arg) noexcept
 Gets the is-sensor state of the given shape configuration.
 
void playrho::d2::SetDensity (BaseShapeConf &arg, NonNegative< AreaDensity > value)
 Sets the density of the given shape configuration.
 
void playrho::d2::SetFilter (BaseShapeConf &arg, Filter value)
 Sets the filter of the given shape configuration.
 
void playrho::d2::SetFriction (BaseShapeConf &arg, NonNegative< Real > value)
 Sets the friction of the given shape.
 
void playrho::d2::SetRestitution (BaseShapeConf &arg, Real value) noexcept
 Sets the restitution of the given shape.
 
void playrho::d2::SetSensor (BaseShapeConf &arg, bool value)
 Sets the is-sensor state of the given shape configuration.
 

Detailed Description

Definition of the BaseShapeConf class and closely related code.