Public Member Functions | Private Attributes

btGjkConvexCast Class Reference

GjkConvexCast performs a raycast on a convex object using support mapping. More...

#include <btGjkConvexCast.h>

Inheritance diagram for btGjkConvexCast:
Inheritance graph
[legend]
Collaboration diagram for btGjkConvexCast:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 btGjkConvexCast (const btConvexShape *convexA, const btConvexShape *convexB, btSimplexSolverInterface *simplexSolver)
virtual bool calcTimeOfImpact (const btTransform &fromA, const btTransform &toA, const btTransform &fromB, const btTransform &toB, CastResult &result)
 cast a convex against another convex object

Private Attributes

btSimplexSolverInterface * m_simplexSolver
const btConvexShapem_convexA
const btConvexShapem_convexB

Detailed Description

GjkConvexCast performs a raycast on a convex object using support mapping.

Definition at line 30 of file btGjkConvexCast.h.


Constructor & Destructor Documentation

btGjkConvexCast::btGjkConvexCast ( const btConvexShape convexA,
const btConvexShape convexB,
btSimplexSolverInterface *  simplexSolver 
)

Definition at line 30 of file btGjkConvexCast.cpp.


Member Function Documentation

bool btGjkConvexCast::calcTimeOfImpact ( const btTransform fromA,
const btTransform toA,
const btTransform fromB,
const btTransform toB,
CastResult result 
) [virtual]

cast a convex against another convex object

compute linear velocity for this interval, to interpolate

Implements btConvexCast.

Definition at line 37 of file btGjkConvexCast.cpp.


Member Data Documentation

Definition at line 33 of file btGjkConvexCast.h.

Definition at line 34 of file btGjkConvexCast.h.

btSimplexSolverInterface* btGjkConvexCast::m_simplexSolver [private]

Definition at line 32 of file btGjkConvexCast.h.


The documentation for this class was generated from the following files: