PlayRho  2.0.0
An interactive physics engine & library.
playrho::d2::part::DensityIs< Policy > Struct Template Reference

Sets the implementing class of the Compositor density policy. More...

#include <playrho/d2/part/Compositor.hpp>

Inheritance diagram for playrho::d2::part::DensityIs< Policy >:
[legend]
Collaboration diagram for playrho::d2::part::DensityIs< Policy >:
[legend]

Public Types

using Density = Policy
 Alias to the implementing class for the density policy. More...
 
- Public Types inherited from playrho::d2::part::DefaultPolicies
using Density = StaticAreaDensity<>
 Alias to the implementing class for the density policy.
 
using Filter = StaticFilter<>
 Alias to the implementing class for the filter policy.
 
using Friction = StaticTenthsFriction<>
 Alias for the friction policy.
 
using Geometry = StaticRectangle<>
 Alias to the implementing class for the geometry policy.
 
using Restitution = StaticRestitution<>
 Alias to the implementing class for the restitution policy.
 
using Sensor = StaticSensor<>
 Alias to the implementing class for the sensor policy.
 

Detailed Description

template<class Policy>
struct playrho::d2::part::DensityIs< Policy >

Sets the implementing class of the Compositor density policy.

Note
This class is not intended for standalone use.
Deliberately uses virtual inheritance of the DefaultPolicies base class in order to properly ensure the intended override of the alias.
See also
Compositor.

Member Typedef Documentation

◆ Density

template<class Policy >
using playrho::d2::part::DensityIs< Policy >::Density = Policy

Alias to the implementing class for the density policy.


The documentation for this struct was generated from the following file: