Public Member Functions | Public Attributes | List of all members
b2Simplex Struct Reference

Public Member Functions

b2Vec2 GetClosestPoint () const
 
float32 GetMetric () const
 
b2Vec2 GetSearchDirection () const
 
void GetWitnessPoints (b2Vec2 *pA, b2Vec2 *pB) const
 
void ReadCache (const b2SimplexCache *cache, const b2DistanceProxy *proxyA, const b2Transform &transformA, const b2DistanceProxy *proxyB, const b2Transform &transformB)
 
void Solve2 ()
 
void Solve3 ()
 
void WriteCache (b2SimplexCache *cache) const
 

Public Attributes

int32 m_count
 
b2SimplexVertex m_v1
 
b2SimplexVertex m_v2
 
b2SimplexVertex m_v3
 

Detailed Description

Definition at line 96 of file b2Distance.cpp.

Member Function Documentation

b2Vec2 b2Simplex::GetClosestPoint ( ) const
inline

Definition at line 190 of file b2Distance.cpp.

float32 b2Simplex::GetMetric ( ) const
inline

Definition at line 242 of file b2Distance.cpp.

b2Vec2 b2Simplex::GetSearchDirection ( ) const
inline

Definition at line 161 of file b2Distance.cpp.

void b2Simplex::GetWitnessPoints ( b2Vec2 pA,
b2Vec2 pB 
) const
inline

Definition at line 213 of file b2Distance.cpp.

void b2Simplex::ReadCache ( const b2SimplexCache cache,
const b2DistanceProxy proxyA,
const b2Transform transformA,
const b2DistanceProxy proxyB,
const b2Transform transformB 
)
inline

Definition at line 98 of file b2Distance.cpp.

void b2Simplex::Solve2 ( )

Definition at line 296 of file b2Distance.cpp.

void b2Simplex::Solve3 ( )

Definition at line 335 of file b2Distance.cpp.

void b2Simplex::WriteCache ( b2SimplexCache cache) const
inline

Definition at line 149 of file b2Distance.cpp.

Member Data Documentation

int32 b2Simplex::m_count

Definition at line 269 of file b2Distance.cpp.

b2SimplexVertex b2Simplex::m_v1

Definition at line 268 of file b2Distance.cpp.

b2SimplexVertex b2Simplex::m_v2

Definition at line 268 of file b2Distance.cpp.

b2SimplexVertex b2Simplex::m_v3

Definition at line 268 of file b2Distance.cpp.


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


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 19:36:41