Box2D  3.0.0
A Real-Time-Oriented 2-D Physics Engine
Public Types | Public Attributes | List of all members
box2d::ToiStepStats Struct Reference

TOI-phase per-step statistics. More...

#include <StepStats.hpp>

Public Types

using counter_type = std::uint32_t
 
using dist_iter_type = std::remove_const< decltype(DefaultMaxDistanceIters)>::type
 
using toi_iter_type = std::remove_const< decltype(DefaultMaxToiIters)>::type
 
using root_iter_type = std::remove_const< decltype(DefaultMaxToiRootIters)>::type
 

Public Attributes

Length minSeparation = std::numeric_limits<RealNum>::infinity() * Meter
 
Momentum maxIncImpulse = 0
 
counter_type islandsFound = 0
 
counter_type islandsSolved = 0
 
counter_type contactsFound = 0
 
counter_type contactsAtMaxSubSteps = 0
 
counter_type contactsUpdatedToi = 0
 
counter_type contactsAdded = 0
 
counter_type proxiesMoved = 0
 
counter_type sumPosIters = 0
 
counter_type sumVelIters = 0
 
counter_type maxSimulContacts = 0
 Max contacts occuring simultaneously. More...
 
dist_iter_type maxDistIters = 0
 
toi_iter_type maxToiIters = 0
 
root_iter_type maxRootIters = 0
 

Detailed Description

TOI-phase per-step statistics.

Member Typedef Documentation

◆ counter_type

using box2d::ToiStepStats::counter_type = std::uint32_t

◆ dist_iter_type

using box2d::ToiStepStats::dist_iter_type = std::remove_const<decltype(DefaultMaxDistanceIters)>::type

◆ root_iter_type

using box2d::ToiStepStats::root_iter_type = std::remove_const<decltype(DefaultMaxToiRootIters)>::type

◆ toi_iter_type

using box2d::ToiStepStats::toi_iter_type = std::remove_const<decltype(DefaultMaxToiIters)>::type

Member Data Documentation

◆ contactsAdded

counter_type box2d::ToiStepStats::contactsAdded = 0

◆ contactsAtMaxSubSteps

counter_type box2d::ToiStepStats::contactsAtMaxSubSteps = 0

◆ contactsFound

counter_type box2d::ToiStepStats::contactsFound = 0

◆ contactsUpdatedToi

counter_type box2d::ToiStepStats::contactsUpdatedToi = 0

◆ islandsFound

counter_type box2d::ToiStepStats::islandsFound = 0

◆ islandsSolved

counter_type box2d::ToiStepStats::islandsSolved = 0

◆ maxDistIters

dist_iter_type box2d::ToiStepStats::maxDistIters = 0

◆ maxIncImpulse

Momentum box2d::ToiStepStats::maxIncImpulse = 0

◆ maxRootIters

root_iter_type box2d::ToiStepStats::maxRootIters = 0

◆ maxSimulContacts

counter_type box2d::ToiStepStats::maxSimulContacts = 0

Max contacts occuring simultaneously.

◆ maxToiIters

toi_iter_type box2d::ToiStepStats::maxToiIters = 0

◆ minSeparation

Length box2d::ToiStepStats::minSeparation = std::numeric_limits<RealNum>::infinity() * Meter

◆ proxiesMoved

counter_type box2d::ToiStepStats::proxiesMoved = 0

◆ sumPosIters

counter_type box2d::ToiStepStats::sumPosIters = 0

◆ sumVelIters

counter_type box2d::ToiStepStats::sumVelIters = 0

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