Blender  V2.59
Classes | Public Member Functions | Static Public Member Functions | Public Attributes
gjkepa2_impl::GJK Struct Reference

List of all members.

Classes

struct  eStatus
struct  sSimplex
struct  sSV

Public Member Functions

 GJK ()
void Initialize ()
eStatus::_ Evaluate (const tShape &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

tShape 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
eStatus::_ m_status

Detailed Description

Definition at line 142 of file btGjkEpa2.cpp.


Constructor & Destructor Documentation

gjkepa2_impl::GJK::GJK ( ) [inline]

Definition at line 171 of file btGjkEpa2.cpp.

References Initialize().


Member Function Documentation

void gjkepa2_impl::GJK::appendvertice ( sSimplex simplex,
const btVector3 &  v 
) [inline]
static btScalar gjkepa2_impl::GJK::det ( const btVector3 &  a,
const btVector3 &  b,
const btVector3 &  c 
) [inline, static]

Definition at line 387 of file btGjkEpa2.cpp.

Referenced by EncloseOrigin(), gjkepa2_impl::EPA::Evaluate(), and projectorigin().

bool gjkepa2_impl::GJK::EncloseOrigin ( ) [inline]
eStatus::_ gjkepa2_impl::GJK::Evaluate ( const tShape shapearg,
const btVector3 &  guess 
) [inline]
void gjkepa2_impl::GJK::getsupport ( const btVector3 &  d,
sSV sv 
) const [inline]
void gjkepa2_impl::GJK::Initialize ( ) [inline]

Definition at line 175 of file btGjkEpa2.cpp.

References gjkepa2_impl::GJK::eStatus::Failed, m_current, m_distance, m_nfree, m_ray, and m_status.

Referenced by GJK().

static btScalar gjkepa2_impl::GJK::projectorigin ( const btVector3 &  a,
const btVector3 &  b,
btScalar w,
U m 
) [inline, static]

Definition at line 393 of file btGjkEpa2.cpp.

References btDot(), and GJK_SIMPLEX2_EPS.

Referenced by Evaluate(), and projectorigin().

static btScalar gjkepa2_impl::GJK::projectorigin ( const btVector3 &  a,
const btVector3 &  b,
const btVector3 &  c,
btScalar w,
U m 
) [inline, static]

Definition at line 408 of file btGjkEpa2.cpp.

References btCross(), btDot(), btSqrt(), GJK_SIMPLEX3_EPS, i, length(), p, and projectorigin().

static btScalar gjkepa2_impl::GJK::projectorigin ( const btVector3 &  a,
const btVector3 &  b,
const btVector3 &  c,
const btVector3 &  d,
btScalar w,
U m 
) [inline, static]
void gjkepa2_impl::GJK::removevertice ( sSimplex simplex) [inline]

Member Data Documentation

Definition at line 167 of file btGjkEpa2.cpp.

Referenced by Evaluate(), and Initialize().

Definition at line 162 of file btGjkEpa2.cpp.

Referenced by Evaluate(), and Initialize().

Definition at line 165 of file btGjkEpa2.cpp.

Referenced by appendvertice(), Evaluate(), and removevertice().

Definition at line 166 of file btGjkEpa2.cpp.

Referenced by appendvertice(), Evaluate(), Initialize(), and removevertice().

Definition at line 161 of file btGjkEpa2.cpp.

Referenced by Evaluate(), Initialize(), and btGjkEpaSolver2::SignedDistance().

Definition at line 160 of file btGjkEpa2.cpp.

Referenced by Evaluate(), and getsupport().

Definition at line 163 of file btGjkEpa2.cpp.

Referenced by Evaluate().

Definition at line 169 of file btGjkEpa2.cpp.

Referenced by Evaluate(), and Initialize().

Definition at line 164 of file btGjkEpa2.cpp.

Referenced by Evaluate().


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