Blender
V3.3
|
#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] |
sSV * | m_free [4] |
U | m_nfree |
U | m_current |
sSimplex * | m_simplex |
eGjkStatus | m_status |
Definition at line 134 of file btGjkEpa3.h.
|
inline |
Definition at line 162 of file btGjkEpa3.h.
References GJK< btConvexTemplate >::Initialize().
|
inline |
Definition at line 387 of file btGjkEpa3.h.
References GJK< btConvexTemplate >::sSimplex::c, GJK< btConvexTemplate >::getsupport(), GJK< btConvexTemplate >::m_free, GJK< btConvexTemplate >::m_nfree, GJK< btConvexTemplate >::sSimplex::p, GJK< btConvexTemplate >::sSimplex::rank, and v.
Referenced by GJK< btConvexTemplate >::EncloseOrigin(), and GJK< btConvexTemplate >::Evaluate().
|
inlinestatic |
Definition at line 393 of file btGjkEpa3.h.
References Freestyle::a, usdtokens::b(), and Freestyle::c.
Referenced by GJK< btConvexTemplate >::EncloseOrigin(), EPA< btConvexTemplate >::Evaluate(), and GJK< btConvexTemplate >::projectorigin().
Definition at line 312 of file btGjkEpa3.h.
References GJK< btConvexTemplate >::appendvertice(), btCross(), btFabs(), btVector3, GJK< btConvexTemplate >::sSimplex::c, GJK< btConvexTemplate >::det(), GJK< btConvexTemplate >::m_simplex, GJK< btConvexTemplate >::sSimplex::rank, GJK< btConvexTemplate >::removevertice(), and GJK< btConvexTemplate >::sSV::w.
Referenced by EPA< btConvexTemplate >::Evaluate().
|
inline |
Definition at line 175 of file btGjkEpa3.h.
References GJK< btConvexTemplate >::appendvertice(), btDot(), btMax(), btVector3, GJK< btConvexTemplate >::sSimplex::c, eGjkFailed, eGjkInside, eGjkValid, GJK_ACCURARY, GJK_DUPLICATED_EPS, GJK_MAX_ITERATIONS, GJK_MIN_DISTANCE, length2(), GJK< btConvexTemplate >::m_current, GJK< btConvexTemplate >::m_distance, GJK< btConvexTemplate >::m_free, GJK< btConvexTemplate >::m_nfree, GJK< btConvexTemplate >::m_ray, GJK< btConvexTemplate >::m_shape, GJK< btConvexTemplate >::m_simplex, GJK< btConvexTemplate >::m_simplices, GJK< btConvexTemplate >::m_status, GJK< btConvexTemplate >::m_store, mask(), next, GJK< btConvexTemplate >::sSimplex::p, GJK< btConvexTemplate >::projectorigin(), GJK< btConvexTemplate >::sSimplex::rank, GJK< btConvexTemplate >::removevertice(), GJK< btConvexTemplate >::sSV::w, and w().
Referenced by btGjkEpaSolver3_Distance(), and btGjkEpaSolver3_Penetration().
|
inline |
Definition at line 378 of file btGjkEpa3.h.
References GJK< btConvexTemplate >::sSV::d, GJK< btConvexTemplate >::m_shape, and GJK< btConvexTemplate >::sSV::w.
Referenced by GJK< btConvexTemplate >::appendvertice(), and EPA< btConvexTemplate >::Evaluate().
Definition at line 167 of file btGjkEpa3.h.
References btVector3, eGjkFailed, GJK< btConvexTemplate >::m_current, GJK< btConvexTemplate >::m_distance, GJK< btConvexTemplate >::m_nfree, GJK< btConvexTemplate >::m_ray, and GJK< btConvexTemplate >::m_status.
Referenced by GJK< btConvexTemplate >::GJK().
|
inlinestatic |
Definition at line 399 of file btGjkEpa3.h.
References Freestyle::a, usdtokens::b(), btDot(), btVector3, GJK_SIMPLEX2_EPS, l, t, and w().
Referenced by GJK< btConvexTemplate >::Evaluate(), and GJK< btConvexTemplate >::projectorigin().
|
inlinestatic |
Definition at line 431 of file btGjkEpa3.h.
References Freestyle::a, usdtokens::b(), btCross(), btDot(), btSqrt(), btVector3, Freestyle::c, GJK_SIMPLEX3_EPS, l, blender::math::length(), GJK< btConvexTemplate >::projectorigin(), and w().
|
inlinestatic |
Definition at line 477 of file btGjkEpa3.h.
References Freestyle::a, usdtokens::b(), btCross(), btDot(), btFabs(), btVector3, Freestyle::c, GJK< btConvexTemplate >::det(), GJK_SIMPLEX4_EPS, GJK< btConvexTemplate >::projectorigin(), and w().
|
inline |
Definition at line 383 of file btGjkEpa3.h.
References GJK< btConvexTemplate >::sSimplex::c, GJK< btConvexTemplate >::m_free, GJK< btConvexTemplate >::m_nfree, and GJK< btConvexTemplate >::sSimplex::rank.
Referenced by GJK< btConvexTemplate >::EncloseOrigin(), and GJK< btConvexTemplate >::Evaluate().
Definition at line 157 of file btGjkEpa3.h.
Referenced by GJK< btConvexTemplate >::Evaluate(), and GJK< btConvexTemplate >::Initialize().
Definition at line 152 of file btGjkEpa3.h.
Referenced by GJK< btConvexTemplate >::Evaluate(), and GJK< btConvexTemplate >::Initialize().
Definition at line 155 of file btGjkEpa3.h.
Referenced by GJK< btConvexTemplate >::appendvertice(), GJK< btConvexTemplate >::Evaluate(), and GJK< btConvexTemplate >::removevertice().
Definition at line 156 of file btGjkEpa3.h.
Referenced by GJK< btConvexTemplate >::appendvertice(), GJK< btConvexTemplate >::Evaluate(), GJK< btConvexTemplate >::Initialize(), and GJK< btConvexTemplate >::removevertice().
Definition at line 151 of file btGjkEpa3.h.
Referenced by GJK< btConvexTemplate >::Evaluate(), and GJK< btConvexTemplate >::Initialize().
MinkowskiDiff<btConvexTemplate> GJK< btConvexTemplate >::m_shape |
Definition at line 150 of file btGjkEpa3.h.
Referenced by GJK< btConvexTemplate >::Evaluate(), and GJK< btConvexTemplate >::getsupport().
Definition at line 158 of file btGjkEpa3.h.
Referenced by btGjkEpaSolver3_Distance(), GJK< btConvexTemplate >::EncloseOrigin(), GJK< btConvexTemplate >::Evaluate(), and EPA< btConvexTemplate >::Evaluate().
Definition at line 153 of file btGjkEpa3.h.
Referenced by GJK< btConvexTemplate >::Evaluate().
eGjkStatus GJK< btConvexTemplate >::m_status |
Definition at line 159 of file btGjkEpa3.h.
Referenced by GJK< btConvexTemplate >::Evaluate(), and GJK< btConvexTemplate >::Initialize().
Definition at line 154 of file btGjkEpa3.h.
Referenced by GJK< btConvexTemplate >::Evaluate().