#include <bvh_world_collision_query.h>
Public Member Functions | |
template<typename bvh_type , typename results_container > | |
void | run (bvh_type const &bvh_A, bvh_type const &bvh_B, results_container &results) |
World Frame Query. Implicitly assumes that A and B are representated in same frame (we call it world frame, but it could be any frame).
This is typcally the kind of query that is needed for testing one deformable object against another deformable object.
void OpenTissue::bvh::WorldCollisionQuery< collision_policy >::run | ( | bvh_type const & | bvh_A, | |
bvh_type const & | bvh_B, | |||
results_container & | results | |||
) | [inline] |
Run Query Algorithm.
bvh_A | bvh A. | |
bvh_B | bvh B | |
results | Upon return this container contains any results from the collision query. |