Classes | Namespaces | Defines | 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

Defines

#define GJK_MAX_ITERATIONS   128
#define GJK_ACCURARY   ((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   64
#define EPA_MAX_FACES   (EPA_MAX_VERTICES*2)
#define EPA_MAX_ITERATIONS   255
#define EPA_ACCURACY   ((btScalar)0.0001)
#define EPA_FALLBACK   (10*EPA_ACCURACY)
#define EPA_PLANE_EPS   ((btScalar)0.00001)
#define EPA_INSIDE_EPS   ((btScalar)0.01)

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)

Define Documentation

#define EPA_ACCURACY   ((btScalar)0.0001)

Definition at line 55 of file btGjkEpa2.cpp.

#define EPA_FALLBACK   (10*EPA_ACCURACY)

Definition at line 56 of file btGjkEpa2.cpp.

#define EPA_INSIDE_EPS   ((btScalar)0.01)

Definition at line 58 of file btGjkEpa2.cpp.

#define EPA_MAX_FACES   (EPA_MAX_VERTICES*2)

Definition at line 53 of file btGjkEpa2.cpp.

#define EPA_MAX_ITERATIONS   255

Definition at line 54 of file btGjkEpa2.cpp.

#define EPA_MAX_VERTICES   64

Definition at line 52 of file btGjkEpa2.cpp.

#define EPA_PLANE_EPS   ((btScalar)0.00001)

Definition at line 57 of file btGjkEpa2.cpp.

#define GJK_ACCURARY   ((btScalar)0.0001)

Definition at line 44 of file btGjkEpa2.cpp.

#define GJK_DUPLICATED_EPS   ((btScalar)0.0001)

Definition at line 46 of file btGjkEpa2.cpp.

#define GJK_MAX_ITERATIONS   128

Definition at line 43 of file btGjkEpa2.cpp.

#define GJK_MIN_DISTANCE   ((btScalar)0.0001)

Definition at line 45 of file btGjkEpa2.cpp.

#define GJK_SIMPLEX2_EPS   ((btScalar)0.0)

Definition at line 47 of file btGjkEpa2.cpp.

#define GJK_SIMPLEX3_EPS   ((btScalar)0.0)

Definition at line 48 of file btGjkEpa2.cpp.

#define GJK_SIMPLEX4_EPS   ((btScalar)0.0)

Definition at line 49 of file btGjkEpa2.cpp.