Public Types | Public Member Functions | Public Attributes | List of all members
b2SeparationFunction Struct Reference

Public Types

enum  Type { e_points, e_faceA, e_faceB }
 

Public Member Functions

float Evaluate (int32 indexA, int32 indexB, float t) const
 
float FindMinSeparation (int32 *indexA, int32 *indexB, float t) const
 
float Initialize (const b2SimplexCache *cache, const b2DistanceProxy *proxyA, const b2Sweep &sweepA, const b2DistanceProxy *proxyB, const b2Sweep &sweepB, float t1)
 

Public Attributes

b2Vec2 m_axis
 
b2Vec2 m_localPoint
 
const b2DistanceProxym_proxyA
 
const b2DistanceProxym_proxyB
 
b2Sweep m_sweepA
 
b2Sweep m_sweepB
 
Type m_type
 

Detailed Description

Definition at line 37 of file b2_time_of_impact.cpp.

Member Enumeration Documentation

◆ Type

Enumerator
e_points 
e_faceA 
e_faceB 

Definition at line 39 of file b2_time_of_impact.cpp.

Member Function Documentation

◆ Evaluate()

float b2SeparationFunction::Evaluate ( int32  indexA,
int32  indexB,
float  t 
) const
inline

Definition at line 198 of file b2_time_of_impact.cpp.

◆ FindMinSeparation()

float b2SeparationFunction::FindMinSeparation ( int32 indexA,
int32 indexB,
float  t 
) const
inline

Definition at line 129 of file b2_time_of_impact.cpp.

◆ Initialize()

float b2SeparationFunction::Initialize ( const b2SimplexCache cache,
const b2DistanceProxy proxyA,
const b2Sweep sweepA,
const b2DistanceProxy proxyB,
const b2Sweep sweepB,
float  t1 
)
inline

Definition at line 48 of file b2_time_of_impact.cpp.

Member Data Documentation

◆ m_axis

b2Vec2 b2SeparationFunction::m_axis

Definition at line 253 of file b2_time_of_impact.cpp.

◆ m_localPoint

b2Vec2 b2SeparationFunction::m_localPoint

Definition at line 252 of file b2_time_of_impact.cpp.

◆ m_proxyA

const b2DistanceProxy* b2SeparationFunction::m_proxyA

Definition at line 248 of file b2_time_of_impact.cpp.

◆ m_proxyB

const b2DistanceProxy* b2SeparationFunction::m_proxyB

Definition at line 249 of file b2_time_of_impact.cpp.

◆ m_sweepA

b2Sweep b2SeparationFunction::m_sweepA

Definition at line 250 of file b2_time_of_impact.cpp.

◆ m_sweepB

b2Sweep b2SeparationFunction::m_sweepB

Definition at line 250 of file b2_time_of_impact.cpp.

◆ m_type

Type b2SeparationFunction::m_type

Definition at line 251 of file b2_time_of_impact.cpp.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22