class for EPA algorithm More...
#include <hpp/fcl/narrowphase/gjk.h>
Classes | |
| struct | SimplexF |
| struct | SimplexHorizon |
| struct | SimplexList |
Public Types | |
| enum | Status { Failed = 0, Valid = 1, AccuracyReached = 1 << 1 | Valid, Degenerated = 1 << 1 | Failed, NonConvex = 2 << 1 | Failed, InvalidHull = 3 << 1 | Failed, OutOfFaces = 4 << 1 | Failed, OutOfVertices = 5 << 1 | Failed, FallBack = 6 << 1 | Failed } |
| typedef GJK::SimplexV | SimplexV |
Public Member Functions | |
| EPA (unsigned int max_face_num_, unsigned int max_vertex_num_, unsigned int max_iterations_, FCL_REAL tolerance_) | |
| ~EPA () | |
| void | initialize () |
| Status | evaluate (GJK &gjk, const Vec3f &guess) |
| bool | getClosestPoints (const MinkowskiDiff &shape, Vec3f &w0, Vec3f &w1) |
| Get the closest points on each object. More... | |
Static Public Member Functions | |
| static void | bind (SimplexF *fa, size_t ea, SimplexF *fb, size_t eb) |
Public Attributes | |
| Status | status |
| GJK::Simplex | result |
| Vec3f | normal |
| FCL_REAL | depth |
| SimplexV * | sv_store |
| SimplexF * | fc_store |
| size_t | nextsv |
| SimplexList | hull |
| SimplexList | stock |
class for EPA algorithm
|
inline |
References initialize().
|
inline |
References initialize().
|
inlinestatic |
References hpp::fcl::details::EPA::SimplexF::e, and hpp::fcl::details::EPA::SimplexF::f.
Referenced by hpp::fcl::GJKSolver::shapeDistance(), hpp::fcl::GJKSolver::shapeIntersect(), and hpp::fcl::GJKSolver::shapeTriangleInteraction().
| bool hpp::fcl::details::EPA::getClosestPoints | ( | const MinkowskiDiff & | shape, |
| Vec3f & | w0, | ||
| Vec3f & | w1 | ||
| ) |
Get the closest points on each object.
Referenced by hpp::fcl::GJKSolver::shapeDistance(), hpp::fcl::GJKSolver::shapeIntersect(), and hpp::fcl::GJKSolver::shapeTriangleInteraction().
| void hpp::fcl::details::EPA::initialize | ( | ) |
| FCL_REAL hpp::fcl::details::EPA::depth |
| SimplexF* hpp::fcl::details::EPA::fc_store |
| SimplexList hpp::fcl::details::EPA::hull |
| size_t hpp::fcl::details::EPA::nextsv |
| Vec3f hpp::fcl::details::EPA::normal |
| GJK::Simplex hpp::fcl::details::EPA::result |
| Status hpp::fcl::details::EPA::status |
| SimplexList hpp::fcl::details::EPA::stock |
| SimplexV* hpp::fcl::details::EPA::sv_store |