#include <bvh_single_collision_query.h>
Public Member Functions | |
template<typename coordsys_type , typename bvh_type , typename user_geometry_type , typename results_container > | |
void | run (coordsys_type const &xform, bvh_type const &bvh, user_geometry_type const &geometry, results_container &results) |
Single Collision Query. This query tests the BVH recursively against a user specified geometry.
void OpenTissue::bvh::SingleCollisionQuery< collision_policy >::run | ( | coordsys_type const & | xform, | |
bvh_type const & | bvh, | |||
user_geometry_type const & | geometry, | |||
results_container & | results | |||
) | [inline] |
Collision Query.
xform | Coordinate transform, can be used to bring bvh into geometry frame or vice versa. | |
bvh | The bvh. | |
geometry | The geometry. | |
results | Upon return this container contains any results from the collision query. |