Blender  V3.3
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
GJK< btConvexTemplate > Struct Template Reference

#include <btGjkEpa3.h>

Classes

struct  sSimplex
 
struct  sSV
 

Public Member Functions

 GJK (const btConvexTemplate &a, const btConvexTemplate &b)
 
void Initialize ()
 
eGjkStatus Evaluate (const MinkowskiDiff< btConvexTemplate > &shapearg, const btVector3 &guess)
 
bool EncloseOrigin ()
 
void getsupport (const btVector3 &d, sSV &sv) const
 
void removevertice (sSimplex &simplex)
 
void appendvertice (sSimplex &simplex, const btVector3 &v)
 

Static Public Member Functions

static btScalar det (const btVector3 &a, const btVector3 &b, const btVector3 &c)
 
static btScalar projectorigin (const btVector3 &a, const btVector3 &b, btScalar *w, U &m)
 
static btScalar projectorigin (const btVector3 &a, const btVector3 &b, const btVector3 &c, btScalar *w, U &m)
 
static btScalar projectorigin (const btVector3 &a, const btVector3 &b, const btVector3 &c, const btVector3 &d, btScalar *w, U &m)
 

Public Attributes

MinkowskiDiff< btConvexTemplate > m_shape
 
btVector3 m_ray
 
btScalar m_distance
 
sSimplex m_simplices [2]
 
sSV m_store [4]
 
sSVm_free [4]
 
U m_nfree
 
U m_current
 
sSimplexm_simplex
 
eGjkStatus m_status
 

Detailed Description

template<typename btConvexTemplate>
struct GJK< btConvexTemplate >

Definition at line 134 of file btGjkEpa3.h.

Constructor & Destructor Documentation

◆ GJK()

template<typename btConvexTemplate >
GJK< btConvexTemplate >::GJK ( const btConvexTemplate &  a,
const btConvexTemplate &  b 
)
inline

Definition at line 162 of file btGjkEpa3.h.

References GJK< btConvexTemplate >::Initialize().

Member Function Documentation

◆ appendvertice()

template<typename btConvexTemplate >
void GJK< btConvexTemplate >::appendvertice ( sSimplex simplex,
const btVector3 v 
)
inline

◆ det()

template<typename btConvexTemplate >
static btScalar GJK< btConvexTemplate >::det ( const btVector3 a,
const btVector3 b,
const btVector3 c 
)
inlinestatic

◆ EncloseOrigin()

template<typename btConvexTemplate >
bool GJK< btConvexTemplate >::EncloseOrigin ( )
inline

◆ Evaluate()

template<typename btConvexTemplate >
eGjkStatus GJK< btConvexTemplate >::Evaluate ( const MinkowskiDiff< btConvexTemplate > &  shapearg,
const btVector3 guess 
)
inline

◆ getsupport()

template<typename btConvexTemplate >
void GJK< btConvexTemplate >::getsupport ( const btVector3 d,
sSV sv 
) const
inline

◆ Initialize()

template<typename btConvexTemplate >
void GJK< btConvexTemplate >::Initialize ( void  )
inline

◆ projectorigin() [1/3]

template<typename btConvexTemplate >
static btScalar GJK< btConvexTemplate >::projectorigin ( const btVector3 a,
const btVector3 b,
btScalar w,
U m 
)
inlinestatic

◆ projectorigin() [2/3]

template<typename btConvexTemplate >
static btScalar GJK< btConvexTemplate >::projectorigin ( const btVector3 a,
const btVector3 b,
const btVector3 c,
btScalar w,
U m 
)
inlinestatic

◆ projectorigin() [3/3]

template<typename btConvexTemplate >
static btScalar GJK< btConvexTemplate >::projectorigin ( const btVector3 a,
const btVector3 b,
const btVector3 c,
const btVector3 d,
btScalar w,
U m 
)
inlinestatic

◆ removevertice()

template<typename btConvexTemplate >
void GJK< btConvexTemplate >::removevertice ( sSimplex simplex)
inline

Member Data Documentation

◆ m_current

template<typename btConvexTemplate >
U GJK< btConvexTemplate >::m_current

◆ m_distance

template<typename btConvexTemplate >
btScalar GJK< btConvexTemplate >::m_distance

◆ m_free

template<typename btConvexTemplate >
sSV* GJK< btConvexTemplate >::m_free[4]

◆ m_nfree

template<typename btConvexTemplate >
U GJK< btConvexTemplate >::m_nfree

◆ m_ray

template<typename btConvexTemplate >
btVector3 GJK< btConvexTemplate >::m_ray

◆ m_shape

template<typename btConvexTemplate >
MinkowskiDiff<btConvexTemplate> GJK< btConvexTemplate >::m_shape

◆ m_simplex

template<typename btConvexTemplate >
sSimplex* GJK< btConvexTemplate >::m_simplex

◆ m_simplices

template<typename btConvexTemplate >
sSimplex GJK< btConvexTemplate >::m_simplices[2]

Definition at line 153 of file btGjkEpa3.h.

Referenced by GJK< btConvexTemplate >::Evaluate().

◆ m_status

template<typename btConvexTemplate >
eGjkStatus GJK< btConvexTemplate >::m_status

◆ m_store

template<typename btConvexTemplate >
sSV GJK< btConvexTemplate >::m_store[4]

Definition at line 154 of file btGjkEpa3.h.

Referenced by GJK< btConvexTemplate >::Evaluate().


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