Blender
V3.3
|
btGjkEpaSolver contributed under zlib by Nathanael Presson More...
#include <btGjkEpa2.h>
Classes | |
struct | sResults |
Static Public Member Functions | |
static int | StackSizeRequirement () |
static bool | Distance (const btConvexShape *shape0, const btTransform &wtrs0, const btConvexShape *shape1, const btTransform &wtrs1, const btVector3 &guess, sResults &results) |
static bool | Penetration (const btConvexShape *shape0, const btTransform &wtrs0, const btConvexShape *shape1, const btTransform &wtrs1, const btVector3 &guess, sResults &results, bool usemargins=true) |
static btScalar | SignedDistance (const btVector3 &position, btScalar margin, const btConvexShape *shape, const btTransform &wtrs, sResults &results) |
static bool | SignedDistance (const btConvexShape *shape0, const btTransform &wtrs0, const btConvexShape *shape1, const btTransform &wtrs1, const btVector3 &guess, sResults &results) |
btGjkEpaSolver contributed under zlib by Nathanael Presson
Definition at line 31 of file btGjkEpa2.h.
|
static |
Definition at line 937 of file btGjkEpa2.cpp.
References btVector3, gjkepa2_impl::GJK::sSimplex::c, gjkepa2_impl::GJK::sSV::d, btGjkEpaSolver2::sResults::distance, gjkepa2_impl::GJK::Evaluate(), GJK_MIN_DISTANCE, gjkepa2_impl::Initialize(), gjkepa2_impl::GJK::eStatus::Inside, gjkepa2_impl::GJK::m_simplex, btGjkEpaSolver2::sResults::normal, gjkepa2_impl::GJK::sSimplex::p, gjkepa2_impl::GJK::sSimplex::rank, btGjkEpaSolver2::sResults::status, gjkepa2_impl::MinkowskiDiff::Support(), gjkepa2_impl::GJK::eStatus::Valid, and btGjkEpaSolver2::sResults::witnesses.
Referenced by btGjkEpaPenetrationDepthSolver::calcPenDepth().
|
static |
Definition at line 973 of file btGjkEpa2.cpp.
References btVector3, gjkepa2_impl::GJK::sSimplex::c, gjkepa2_impl::GJK::sSV::d, btGjkEpaSolver2::sResults::distance, gjkepa2_impl::GJK::Evaluate(), gjkepa2_impl::EPA::Evaluate(), gjkepa2_impl::GJK::eStatus::Failed, gjkepa2_impl::EPA::eStatus::Failed, gjkepa2_impl::Initialize(), gjkepa2_impl::GJK::eStatus::Inside, gjkepa2_impl::EPA::m_depth, gjkepa2_impl::EPA::m_normal, gjkepa2_impl::EPA::m_result, btGjkEpaSolver2::sResults::normal, gjkepa2_impl::GJK::sSimplex::p, gjkepa2_impl::GJK::sSimplex::rank, btGjkEpaSolver2::sResults::status, gjkepa2_impl::MinkowskiDiff::Support(), and btGjkEpaSolver2::sResults::witnesses.
Referenced by btGjkEpaPenetrationDepthSolver::calcPenDepth().
|
static |
Definition at line 1074 of file btGjkEpa2.cpp.
|
static |
Definition at line 1021 of file btGjkEpa2.cpp.
References btSphereShape(), btTransform, btVector3, gjkepa2_impl::GJK::sSimplex::c, gjkepa2_impl::GJK::sSV::d, btGjkEpaSolver2::sResults::distance, gjkepa2_impl::GJK::Evaluate(), gjkepa2_impl::Initialize(), gjkepa2_impl::GJK::eStatus::Inside, blender::math::length(), gjkepa2_impl::GJK::m_ray, gjkepa2_impl::GJK::m_simplex, btGjkEpaSolver2::sResults::normal, gjkepa2_impl::GJK::sSimplex::p, gjkepa2_impl::GJK::sSimplex::rank, SIMD_EPSILON, SIMD_INFINITY, gjkepa2_impl::MinkowskiDiff::Support(), gjkepa2_impl::GJK::eStatus::Valid, and btGjkEpaSolver2::sResults::witnesses.
Referenced by btSoftBody::checkDeformableFaceContact(), btSparseSdf< CELLSIZE >::DistanceToShape(), btSoftColliders::CollideCL_SS::Process(), and btSoftColliders::CollideCL_RS::Process().
|
static |
Definition at line 931 of file btGjkEpa2.cpp.