#include <collisionAlgorithms.h>
Public Member Functions | |
ClosestPtCallback (const CollisionModel *m1, const position &p) | |
virtual bool | distanceTest (double dSq) |
position | getClosestPt () |
double | getMin () |
virtual void | leafTest (const Leaf *l1, const Leaf *l2) |
void | printStatistics () |
virtual double | quickTest (const Node *n1, const Node *n2) |
virtual void | reset () |
Private Attributes | |
position | mClosestPt |
double | mMinDistSq |
position | mRefPosition |
Recursion callback for the closest point test.
Definition at line 220 of file collisionAlgorithms.h.
Collision::ClosestPtCallback::ClosestPtCallback | ( | const CollisionModel * | m1, | |
const position & | p | |||
) | [inline] |
Definition at line 226 of file collisionAlgorithms.h.
virtual bool Collision::ClosestPtCallback::distanceTest | ( | double | dSq | ) | [inline, virtual] |
Implements Collision::RecursionCallback.
Definition at line 234 of file collisionAlgorithms.h.
position Collision::ClosestPtCallback::getClosestPt | ( | ) | [inline] |
Definition at line 240 of file collisionAlgorithms.h.
double Collision::ClosestPtCallback::getMin | ( | ) | [inline] |
Definition at line 239 of file collisionAlgorithms.h.
Implements Collision::RecursionCallback.
Definition at line 211 of file collisionAlgorithms_inl.h.
void Collision::ClosestPtCallback::printStatistics | ( | ) | [virtual] |
Reimplemented from Collision::RecursionCallback.
Definition at line 222 of file collisionAlgorithms.cpp.
Implements Collision::RecursionCallback.
Definition at line 232 of file collisionAlgorithms_inl.h.
virtual void Collision::ClosestPtCallback::reset | ( | ) | [inline, virtual] |
Reimplemented from Collision::RecursionCallback.
Definition at line 228 of file collisionAlgorithms.h.
Definition at line 224 of file collisionAlgorithms.h.
double Collision::ClosestPtCallback::mMinDistSq [private] |
Definition at line 223 of file collisionAlgorithms.h.
Definition at line 224 of file collisionAlgorithms.h.