playrho::d2::Manifold::Conf Struct Reference

Configuration data for manifold calculation. More...

#include <Manifold.hpp>

Public Attributes

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

Related Functions

(Note that these are not member functions.)

PLAYRHO_CONSTEXPR Manifold::Conf GetDefaultManifoldConf () noexcept
 Gets the default manifold configuration. More...
 

Detailed Description

Configuration data for manifold calculation.

Definition at line 458 of file Manifold.hpp.

Friends And Related Function Documentation

◆ GetDefaultManifoldConf()

PLAYRHO_CONSTEXPR Manifold::Conf GetDefaultManifoldConf ( )
related

Gets the default manifold configuration.

Definition at line 479 of file Manifold.hpp.

Member Data Documentation

◆ linearSlop

Length playrho::d2::Manifold::Conf::linearSlop = DefaultLinearSlop

Linear slop.

Definition at line 461 of file Manifold.hpp.

◆ 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.

Definition at line 465 of file Manifold.hpp.

◆ tolerance

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

Tolerance.

Tolerance.

Definition at line 468 of file Manifold.hpp.

◆ 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.

Definition at line 474 of file Manifold.hpp.


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