PlayRho  1.1.0
An Interactive Real-Time-Oriented C++ Physics Engine & Library
playrho::d2::Manifold::Conf Struct Reference

Configuration data for manifold calculation. More...

#include <Manifold.hpp>

Collaboration diagram for playrho::d2::Manifold::Conf:
[legend]

Public Attributes

Length linearSlop = DefaultLinearSlop
 Linear slop.
 
Length targetDepth = DefaultLinearSlop * Real{3}
 Targeted depth of impact. More...
 
Length tolerance = DefaultLinearSlop / Real{4}
 Tolerance. More...
 
Real maxCirclesRatio = DefaultCirclesRatio
 Max. circles ratio. More...
 

Related Functions

(Note that these are not member functions.)

constexpr Manifold::Conf GetDefaultManifoldConf () noexcept
 Gets the default manifold configuration.
 
Manifold::Conf GetManifoldConf (const StepConf &conf) noexcept
 Gets the manifold configuration for the given step configuration.
 

Detailed Description

Configuration data for manifold calculation.

Member Data Documentation

◆ maxCirclesRatio

Real playrho::d2::Manifold::Conf::maxCirclesRatio = DefaultCirclesRatio

Max. circles ratio.

When the ratio of the closest face's length to the vertex radius is more than this amount, then face-manifolds are forced, else circles-manifolds may be computed for new contact manifolds.

Referenced by playrho::d2::GetManifold().

◆ targetDepth

Length playrho::d2::Manifold::Conf::targetDepth = DefaultLinearSlop * Real{3}

Targeted depth of impact.

Note
Value must be less than twice the minimum vertex radius of any shape.

◆ tolerance

Length playrho::d2::Manifold::Conf::tolerance = DefaultLinearSlop / Real{4}

Tolerance.

Tolerance.


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