#include <boost/test/included/unit_test.hpp>
#include <hpp/fcl/config.hh>
#include <hpp/fcl/broadphase/broadphase.h>
#include <hpp/fcl/shape/geometric_shape_to_BVH_model.h>
#include <hpp/fcl/math/transform.h>
#include "utility.h"
#include <boost/math/constants/constants.hpp>
#include <iostream>
#include <iomanip>
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE FCL_BROADPHASE |
Functions | |
BOOST_AUTO_TEST_CASE (test_core_bf_broad_phase_distance) | |
check broad phase distance More... | |
BOOST_AUTO_TEST_CASE (test_core_bf_broad_phase_self_distance) | |
check broad phase self distance More... | |
BOOST_AUTO_TEST_CASE (test_core_mesh_bf_broad_phase_distance_mesh) | |
check broad phase distance More... | |
BOOST_AUTO_TEST_CASE (test_core_mesh_bf_broad_phase_self_distance_mesh) | |
check broad phase self distance More... | |
void | broad_phase_distance_test (double env_scale, std::size_t env_size, std::size_t query_size, bool use_mesh=false) |
test for broad phase distance More... | |
void | broad_phase_self_distance_test (double env_scale, std::size_t env_size, bool use_mesh=false) |
test for broad phase self distance More... | |
void | generateSelfDistanceEnvironments (std::vector< CollisionObject * > &env, double env_scale, std::size_t n) |
Generate environment with 3 * n objects for self distance, so we try to make sure none of them collide with each other. More... | |
void | generateSelfDistanceEnvironmentsMesh (std::vector< CollisionObject * > &env, double env_scale, std::size_t n) |
Generate environment with 3 * n objects for self distance, but all in meshes. More... | |
Variables | |
FCL_REAL | DELTA = 0.01 |
#define BOOST_TEST_MODULE FCL_BROADPHASE |
Definition at line 38 of file broadphase.cpp.
BOOST_AUTO_TEST_CASE | ( | test_core_bf_broad_phase_distance | ) |
check broad phase distance
Definition at line 102 of file broadphase.cpp.
BOOST_AUTO_TEST_CASE | ( | test_core_bf_broad_phase_self_distance | ) |
check broad phase self distance
Definition at line 117 of file broadphase.cpp.
BOOST_AUTO_TEST_CASE | ( | test_core_mesh_bf_broad_phase_distance_mesh | ) |
check broad phase distance
Definition at line 124 of file broadphase.cpp.
BOOST_AUTO_TEST_CASE | ( | test_core_mesh_bf_broad_phase_self_distance_mesh | ) |
check broad phase self distance
Definition at line 139 of file broadphase.cpp.
void broad_phase_distance_test | ( | double | env_scale, |
std::size_t | env_size, | ||
std::size_t | query_size, | ||
bool | use_mesh = false |
||
) |
test for broad phase distance
Definition at line 414 of file broadphase.cpp.
void broad_phase_self_distance_test | ( | double | env_scale, |
std::size_t | env_size, | ||
bool | use_mesh = false |
||
) |
test for broad phase self distance
Definition at line 293 of file broadphase.cpp.
void generateSelfDistanceEnvironments | ( | std::vector< CollisionObject * > & | env, |
double | env_scale, | ||
std::size_t | n | ||
) |
Generate environment with 3 * n objects for self distance, so we try to make sure none of them collide with each other.
Definition at line 145 of file broadphase.cpp.
void generateSelfDistanceEnvironmentsMesh | ( | std::vector< CollisionObject * > & | env, |
double | env_scale, | ||
std::size_t | n | ||
) |
Generate environment with 3 * n objects for self distance, but all in meshes.
Definition at line 215 of file broadphase.cpp.
FCL_REAL DELTA = 0.01 |
Definition at line 78 of file broadphase.cpp.