Go to the documentation of this file.
38 #include <../src/collision_node.h>
49 if (sqrDistLowerBound == 0) {
51 "Distance lower bound should not be positive.",
57 "Distance lower bound and sqrDistLowerBound should coincide.",
65 if (front_list && front_list->size() > 0) {
73 if (!std::isnan(sqrDistLowerBound)) {
#define COAL_ASSERT(check, message, exception)
void propagateBVHFrontListCollisionRecurse(CollisionTraversalNodeBase *node, const CollisionRequest &, CollisionResult &result, BVHFrontList *front_list)
void distanceRecurse(DistanceTraversalNodeBase *node, unsigned int b1, unsigned int b2, BVHFrontList *front_list)
COAL_DLLAPI CoalScalar distance(const Matrix3s &R0, const Vec3s &T0, const kIOS &b1, const kIOS &b2, Vec3s *P=NULL, Vec3s *Q=NULL)
Approximate distance between two kIOS bounding volumes.
std::list< BVHFrontNode > BVHFrontList
BVH front list is a list of front nodes.
CoalScalar distance_lower_bound
#define COAL_UNUSED_VARIABLE(var)
void distanceQueueRecurse(DistanceTraversalNodeBase *node, unsigned int b1, unsigned int b2, BVHFrontList *front_list, unsigned int qsize)
request to the collision algorithm
void collisionRecurse(CollisionTraversalNodeBase *node, unsigned int b1, unsigned int b2, BVHFrontList *front_list, CoalScalar &sqrDistLowerBound)
void collisionNonRecurse(CollisionTraversalNodeBase *node, BVHFrontList *front_list, CoalScalar &sqrDistLowerBound)
static CoalScalar epsilon
void checkResultLowerBound(const CollisionResult &result, CoalScalar sqrDistLowerBound)
COAL_DLLAPI std::size_t collide(const CollisionObject *o1, const CollisionObject *o2, const CollisionRequest &request, CollisionResult &result)
Main collision interface: given two collision objects, and the requirements for contacts,...
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:57