Blender
V3.3
|
Classes | |
struct | eStatus |
struct | sFace |
struct | sHorizon |
struct | sList |
Public Types | |
typedef GJK::sSV | sSV |
Public Member Functions | |
EPA () | |
void | Initialize () |
eStatus::_ | Evaluate (GJK &gjk, const btVector3 &guess) |
bool | getedgedist (sFace *face, sSV *a, sSV *b, btScalar &dist) |
sFace * | newface (sSV *a, sSV *b, sSV *c, bool forced) |
sFace * | findbest () |
bool | expand (U pass, sSV *w, sFace *f, U e, sHorizon &horizon) |
Static Public Member Functions | |
static void | bind (sFace *fa, U ea, sFace *fb, U eb) |
static void | append (sList &list, sFace *face) |
static void | remove (sList &list, sFace *face) |
Public Attributes | |
eStatus::_ | m_status |
GJK::sSimplex | m_result |
btVector3 | m_normal |
btScalar | m_depth |
sSV | m_sv_store [EPA_MAX_VERTICES] |
sFace | m_fc_store [EPA_MAX_FACES] |
U | m_nextsv |
sList | m_hull |
sList | m_stock |
Definition at line 555 of file btGjkEpa2.cpp.
typedef GJK::sSV gjkepa2_impl::EPA::sSV |
Definition at line 558 of file btGjkEpa2.cpp.
|
inline |
Definition at line 609 of file btGjkEpa2.cpp.
References Initialize().
Definition at line 621 of file btGjkEpa2.cpp.
References gjkepa2_impl::EPA::sList::count, gjkepa2_impl::EPA::sFace::l, and gjkepa2_impl::EPA::sList::root.
Referenced by Evaluate(), expand(), Initialize(), and newface().
Definition at line 614 of file btGjkEpa2.cpp.
References gjkepa2_impl::EPA::sFace::e, gjkepa2_impl::EPA::sFace::f, and fb().
Referenced by Evaluate(), and expand().
|
inline |
Definition at line 648 of file btGjkEpa2.cpp.
References gjkepa2_impl::EPA::eStatus::AccuraryReached, append(), bind(), btCross(), btDot(), btSwap(), btVector3, gjkepa2_impl::EPA::sFace::c, gjkepa2_impl::GJK::sSimplex::c, gjkepa2_impl::EPA::sHorizon::cf, gjkepa2_impl::EPA::sList::count, gjkepa2_impl::EPA::sFace::d, gjkepa2_impl::GJK::det(), gjkepa2_impl::EPA::sFace::e, gjkepa2_impl::GJK::EncloseOrigin(), EPA_ACCURACY, EPA_MAX_ITERATIONS, EPA_MAX_VERTICES, expand(), gjkepa2_impl::EPA::sFace::f, gjkepa2_impl::EPA::eStatus::FallBack, gjkepa2_impl::EPA::sHorizon::ff, findbest(), gjkepa2_impl::GJK::getsupport(), gjkepa2_impl::EPA::eStatus::InvalidHull, m_depth, m_hull, m_nextsv, m_normal, m_result, gjkepa2_impl::GJK::m_simplex, m_status, m_stock, m_sv_store, gjkepa2_impl::EPA::sFace::n, newface(), gjkepa2_impl::EPA::sHorizon::nf, gjkepa2_impl::EPA::eStatus::OutOfVertices, gjkepa2_impl::GJK::sSimplex::p, gjkepa2_impl::EPA::sFace::pass, gjkepa2_impl::GJK::sSimplex::rank, remove(), gjkepa2_impl::EPA::sList::root, sum(), gjkepa2_impl::EPA::eStatus::Valid, gjkepa2_impl::GJK::sSV::w, and w().
Referenced by btGjkEpaSolver2::Penetration().
Definition at line 864 of file btGjkEpa2.cpp.
References append(), bind(), btDot(), gjkepa2_impl::EPA::sFace::c, gjkepa2_impl::EPA::sHorizon::cf, gjkepa2_impl::EPA::sFace::d, gjkepa2_impl::EPA::sFace::e, e, EPA_PLANE_EPS, gjkepa2_impl::EPA::sFace::f, gjkepa2_impl::EPA::sHorizon::ff, m_hull, m_stock, gjkepa2_impl::EPA::sFace::n, newface(), gjkepa2_impl::EPA::sHorizon::nf, gjkepa2_impl::EPA::sFace::pass, remove(), and w().
Referenced by Evaluate().
|
inline |
Definition at line 849 of file btGjkEpa2.cpp.
References gjkepa2_impl::EPA::sFace::d, gjkepa2_impl::EPA::sFace::l, m_hull, and gjkepa2_impl::EPA::sList::root.
Referenced by Evaluate().
Definition at line 769 of file btGjkEpa2.cpp.
References Freestyle::a, usdtokens::b(), btCross(), btDot(), btMax(), btSqrt(), btVector3, and gjkepa2_impl::EPA::sFace::n.
Referenced by newface().
Definition at line 637 of file btGjkEpa2.cpp.
References append(), btVector3, EPA_MAX_FACES, gjkepa2_impl::EPA::eStatus::Failed, m_depth, m_fc_store, m_nextsv, m_normal, m_status, and m_stock.
Referenced by EPA().
Definition at line 805 of file btGjkEpa2.cpp.
References Freestyle::a, append(), usdtokens::b(), btCross(), btDot(), gjkepa2_impl::EPA::sFace::c, Freestyle::c, gjkepa2_impl::EPA::sFace::d, gjkepa2_impl::EPA::eStatus::Degenerated, EPA_ACCURACY, EPA_PLANE_EPS, getedgedist(), l, m_hull, m_status, m_stock, gjkepa2_impl::EPA::sFace::n, gjkepa2_impl::EPA::eStatus::NonConvex, gjkepa2_impl::EPA::eStatus::OutOfFaces, gjkepa2_impl::EPA::eStatus::OutOfVertices, gjkepa2_impl::EPA::sFace::pass, remove(), gjkepa2_impl::EPA::sList::root, and v.
Referenced by Evaluate(), and expand().
Definition at line 629 of file btGjkEpa2.cpp.
References gjkepa2_impl::EPA::sList::count, gjkepa2_impl::EPA::sFace::l, and gjkepa2_impl::EPA::sList::root.
Referenced by Evaluate(), expand(), and newface().
btScalar gjkepa2_impl::EPA::m_depth |
Definition at line 602 of file btGjkEpa2.cpp.
Referenced by Evaluate(), Initialize(), and btGjkEpaSolver2::Penetration().
sFace gjkepa2_impl::EPA::m_fc_store[EPA_MAX_FACES] |
Definition at line 604 of file btGjkEpa2.cpp.
Referenced by Initialize().
sList gjkepa2_impl::EPA::m_hull |
Definition at line 606 of file btGjkEpa2.cpp.
Referenced by Evaluate(), expand(), findbest(), and newface().
U gjkepa2_impl::EPA::m_nextsv |
Definition at line 605 of file btGjkEpa2.cpp.
Referenced by Evaluate(), and Initialize().
btVector3 gjkepa2_impl::EPA::m_normal |
Definition at line 601 of file btGjkEpa2.cpp.
Referenced by Evaluate(), Initialize(), and btGjkEpaSolver2::Penetration().
GJK::sSimplex gjkepa2_impl::EPA::m_result |
Definition at line 600 of file btGjkEpa2.cpp.
Referenced by Evaluate(), and btGjkEpaSolver2::Penetration().
eStatus::_ gjkepa2_impl::EPA::m_status |
Definition at line 599 of file btGjkEpa2.cpp.
Referenced by Evaluate(), Initialize(), and newface().
sList gjkepa2_impl::EPA::m_stock |
Definition at line 607 of file btGjkEpa2.cpp.
Referenced by Evaluate(), expand(), Initialize(), and newface().
sSV gjkepa2_impl::EPA::m_sv_store[EPA_MAX_VERTICES] |
Definition at line 603 of file btGjkEpa2.cpp.
Referenced by Evaluate().