Blender
V3.3
|
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] |
sSV * | m_free [4] |
U | m_nfree |
U | m_current |
sSimplex * | m_simplex |
eStatus::_ | m_status |
Definition at line 155 of file btGjkEpa2.cpp.
|
inline |
Definition at line 189 of file btGjkEpa2.cpp.
References Initialize().
Definition at line 413 of file btGjkEpa2.cpp.
References gjkepa2_impl::GJK::sSimplex::c, getsupport(), m_free, m_nfree, gjkepa2_impl::GJK::sSimplex::p, gjkepa2_impl::GJK::sSimplex::rank, and v.
Referenced by EncloseOrigin(), and Evaluate().
|
inlinestatic |
Definition at line 419 of file btGjkEpa2.cpp.
References Freestyle::a, usdtokens::b(), and Freestyle::c.
Referenced by EncloseOrigin(), gjkepa2_impl::EPA::Evaluate(), and projectorigin().
|
inline |
Definition at line 338 of file btGjkEpa2.cpp.
References appendvertice(), btCross(), btFabs(), btVector3, gjkepa2_impl::GJK::sSimplex::c, det(), m_simplex, gjkepa2_impl::GJK::sSimplex::rank, removevertice(), and gjkepa2_impl::GJK::sSV::w.
Referenced by gjkepa2_impl::EPA::Evaluate().
|
inline |
Definition at line 201 of file btGjkEpa2.cpp.
References appendvertice(), btDot(), btMax(), btVector3, gjkepa2_impl::GJK::sSimplex::c, gjkepa2_impl::GJK::eStatus::Failed, GJK_ACCURACY, GJK_DUPLICATED_EPS, GJK_MAX_ITERATIONS, GJK_MIN_DISTANCE, gjkepa2_impl::GJK::eStatus::Inside, length2(), m_current, m_distance, m_free, m_nfree, m_ray, m_shape, m_simplex, m_simplices, m_status, m_store, mask(), next, gjkepa2_impl::GJK::sSimplex::p, projectorigin(), gjkepa2_impl::GJK::sSimplex::rank, removevertice(), gjkepa2_impl::GJK::eStatus::Valid, gjkepa2_impl::GJK::sSV::w, and w().
Referenced by btGjkEpaSolver2::Distance(), btGjkEpaSolver2::Penetration(), and btGjkEpaSolver2::SignedDistance().
Definition at line 404 of file btGjkEpa2.cpp.
References gjkepa2_impl::GJK::sSV::d, m_shape, gjkepa2_impl::MinkowskiDiff::Support(), and gjkepa2_impl::GJK::sSV::w.
Referenced by appendvertice(), and gjkepa2_impl::EPA::Evaluate().
Definition at line 193 of file btGjkEpa2.cpp.
References btVector3, gjkepa2_impl::GJK::eStatus::Failed, m_current, m_distance, m_nfree, m_ray, and m_status.
Referenced by GJK().
|
inlinestatic |
Definition at line 425 of file btGjkEpa2.cpp.
References Freestyle::a, usdtokens::b(), btDot(), btVector3, GJK_SIMPLEX2_EPS, l, t, and w().
Referenced by Evaluate(), and projectorigin().
|
inlinestatic |
Definition at line 457 of file btGjkEpa2.cpp.
References Freestyle::a, usdtokens::b(), btCross(), btDot(), btSqrt(), btVector3, Freestyle::c, GJK_SIMPLEX3_EPS, l, blender::math::length(), projectorigin(), and w().
|
inlinestatic |
Definition at line 503 of file btGjkEpa2.cpp.
References Freestyle::a, usdtokens::b(), btCross(), btDot(), btFabs(), btVector3, Freestyle::c, det(), GJK_SIMPLEX4_EPS, projectorigin(), and w().
Definition at line 409 of file btGjkEpa2.cpp.
References gjkepa2_impl::GJK::sSimplex::c, m_free, m_nfree, and gjkepa2_impl::GJK::sSimplex::rank.
Referenced by EncloseOrigin(), and Evaluate().
U gjkepa2_impl::GJK::m_current |
Definition at line 185 of file btGjkEpa2.cpp.
Referenced by Evaluate(), and Initialize().
btScalar gjkepa2_impl::GJK::m_distance |
Definition at line 180 of file btGjkEpa2.cpp.
Referenced by Evaluate(), and Initialize().
sSV* gjkepa2_impl::GJK::m_free[4] |
Definition at line 183 of file btGjkEpa2.cpp.
Referenced by appendvertice(), Evaluate(), and removevertice().
U gjkepa2_impl::GJK::m_nfree |
Definition at line 184 of file btGjkEpa2.cpp.
Referenced by appendvertice(), Evaluate(), Initialize(), and removevertice().
btVector3 gjkepa2_impl::GJK::m_ray |
Definition at line 179 of file btGjkEpa2.cpp.
Referenced by Evaluate(), Initialize(), and btGjkEpaSolver2::SignedDistance().
tShape gjkepa2_impl::GJK::m_shape |
Definition at line 178 of file btGjkEpa2.cpp.
Referenced by Evaluate(), and getsupport().
sSimplex* gjkepa2_impl::GJK::m_simplex |
Definition at line 186 of file btGjkEpa2.cpp.
Referenced by btGjkEpaSolver2::Distance(), EncloseOrigin(), Evaluate(), gjkepa2_impl::EPA::Evaluate(), and btGjkEpaSolver2::SignedDistance().
sSimplex gjkepa2_impl::GJK::m_simplices[2] |
Definition at line 181 of file btGjkEpa2.cpp.
Referenced by Evaluate().
eStatus::_ gjkepa2_impl::GJK::m_status |
Definition at line 187 of file btGjkEpa2.cpp.
Referenced by Evaluate(), and Initialize().
sSV gjkepa2_impl::GJK::m_store[4] |
Definition at line 182 of file btGjkEpa2.cpp.
Referenced by Evaluate().