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

Distance Output. More...

#include <Distance.hpp>

Public Types

enum  State : std::uint8_t {
  Unknown, MaxPoints, UnfitSearchDir, DuplicateIndexPair,
  HitMaxIters
}
 
using iteration_type = std::remove_const< decltype(DefaultMaxDistanceIters)>::type
 

Public Attributes

Simplex simplex
 Simplex. More...
 
iteration_type iterations = 0
 Count of iterations performed to return result. More...
 
State state = Unknown
 Termination state. More...
 

Detailed Description

Distance Output.

Member Typedef Documentation

◆ iteration_type

using box2d::DistanceOutput::iteration_type = std::remove_const<decltype(DefaultMaxDistanceIters)>::type

Member Enumeration Documentation

◆ State

enum box2d::DistanceOutput::State : std::uint8_t
Enumerator
Unknown 
MaxPoints 
UnfitSearchDir 
DuplicateIndexPair 
HitMaxIters 

Member Data Documentation

◆ iterations

iteration_type box2d::DistanceOutput::iterations = 0

Count of iterations performed to return result.

◆ simplex

Simplex box2d::DistanceOutput::simplex

◆ state

State box2d::DistanceOutput::state = Unknown

Termination state.


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