Bullet Collision Detection & Physics Library
Classes | Namespaces | Macros | Typedefs | Functions
btGjkEpa2.cpp File Reference
#include "BulletCollision/CollisionShapes/btConvexInternalShape.h"
#include "BulletCollision/CollisionShapes/btSphereShape.h"
#include "btGjkEpa2.h"
Include dependency graph for btGjkEpa2.cpp:

Go to the source code of this file.

Classes

struct  gjkepa2_impl::MinkowskiDiff
 
struct  gjkepa2_impl::GJK
 
struct  gjkepa2_impl::GJK::sSV
 
struct  gjkepa2_impl::GJK::sSimplex
 
struct  gjkepa2_impl::GJK::eStatus
 
struct  gjkepa2_impl::EPA
 
struct  gjkepa2_impl::EPA::sFace
 
struct  gjkepa2_impl::EPA::sList
 
struct  gjkepa2_impl::EPA::sHorizon
 
struct  gjkepa2_impl::EPA::eStatus
 

Namespaces

namespace  gjkepa2_impl
 

Macros

#define GJK_MAX_ITERATIONS   128
 
#define GJK_ACCURACY   ((btScalar)0.0001)
 
#define GJK_MIN_DISTANCE   ((btScalar)0.0001)
 
#define GJK_DUPLICATED_EPS   ((btScalar)0.0001)
 
#define GJK_SIMPLEX2_EPS   ((btScalar)0.0)
 
#define GJK_SIMPLEX3_EPS   ((btScalar)0.0)
 
#define GJK_SIMPLEX4_EPS   ((btScalar)0.0)
 
#define EPA_MAX_VERTICES   128
 
#define EPA_MAX_ITERATIONS   255
 
#define EPA_ACCURACY   ((btScalar)0.0001)
 
#define EPA_PLANE_EPS   ((btScalar)0.00001)
 
#define EPA_INSIDE_EPS   ((btScalar)0.01)
 
#define EPA_FALLBACK   (10 * EPA_ACCURACY)
 
#define EPA_MAX_FACES   (EPA_MAX_VERTICES * 2)
 

Typedefs

typedef unsigned int gjkepa2_impl::U
 
typedef unsigned char gjkepa2_impl::U1
 
typedef MinkowskiDiff gjkepa2_impl::tShape
 

Functions

static void gjkepa2_impl::Initialize (const btConvexShape *shape0, const btTransform &wtrs0, const btConvexShape *shape1, const btTransform &wtrs1, btGjkEpaSolver2::sResults &results, tShape &shape, bool withmargins)
 

Macro Definition Documentation

◆ EPA_ACCURACY

#define EPA_ACCURACY   ((btScalar)0.0001)

Definition at line 67 of file btGjkEpa2.cpp.

◆ EPA_FALLBACK

#define EPA_FALLBACK   (10 * EPA_ACCURACY)

Definition at line 72 of file btGjkEpa2.cpp.

◆ EPA_INSIDE_EPS

#define EPA_INSIDE_EPS   ((btScalar)0.01)

Definition at line 69 of file btGjkEpa2.cpp.

◆ EPA_MAX_FACES

#define EPA_MAX_FACES   (EPA_MAX_VERTICES * 2)

Definition at line 73 of file btGjkEpa2.cpp.

◆ EPA_MAX_ITERATIONS

#define EPA_MAX_ITERATIONS   255

Definition at line 60 of file btGjkEpa2.cpp.

◆ EPA_MAX_VERTICES

#define EPA_MAX_VERTICES   128

Definition at line 59 of file btGjkEpa2.cpp.

◆ EPA_PLANE_EPS

#define EPA_PLANE_EPS   ((btScalar)0.00001)

Definition at line 68 of file btGjkEpa2.cpp.

◆ GJK_ACCURACY

#define GJK_ACCURACY   ((btScalar)0.0001)

Definition at line 49 of file btGjkEpa2.cpp.

◆ GJK_DUPLICATED_EPS

#define GJK_DUPLICATED_EPS   ((btScalar)0.0001)

Definition at line 51 of file btGjkEpa2.cpp.

◆ GJK_MAX_ITERATIONS

#define GJK_MAX_ITERATIONS   128

Definition at line 42 of file btGjkEpa2.cpp.

◆ GJK_MIN_DISTANCE

#define GJK_MIN_DISTANCE   ((btScalar)0.0001)

Definition at line 50 of file btGjkEpa2.cpp.

◆ GJK_SIMPLEX2_EPS

#define GJK_SIMPLEX2_EPS   ((btScalar)0.0)

Definition at line 54 of file btGjkEpa2.cpp.

◆ GJK_SIMPLEX3_EPS

#define GJK_SIMPLEX3_EPS   ((btScalar)0.0)

Definition at line 55 of file btGjkEpa2.cpp.

◆ GJK_SIMPLEX4_EPS

#define GJK_SIMPLEX4_EPS   ((btScalar)0.0)

Definition at line 56 of file btGjkEpa2.cpp.