Macros | Functions
broadphase_collision_2.cpp File Reference
#include <boost/test/included/unit_test.hpp>
#include "hpp/fcl/broadphase/broadphase_bruteforce.h"
#include "hpp/fcl/broadphase/broadphase_spatialhash.h"
#include "hpp/fcl/broadphase/broadphase_SaP.h"
#include "hpp/fcl/broadphase/broadphase_SSaP.h"
#include "hpp/fcl/broadphase/broadphase_interval_tree.h"
#include "hpp/fcl/broadphase/broadphase_dynamic_AABB_tree.h"
#include "hpp/fcl/broadphase/broadphase_dynamic_AABB_tree_array.h"
#include "hpp/fcl/broadphase/default_broadphase_callbacks.h"
#include "hpp/fcl/broadphase/detail/sparse_hash_table.h"
#include "hpp/fcl/broadphase/detail/spatial_hash.h"
#include "utility.h"
#include <iostream>
#include <iomanip>
Include dependency graph for broadphase_collision_2.cpp:

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   BROADPHASE_COLLISION_2
 

Functions

 BOOST_AUTO_TEST_CASE (test_core_bf_broad_phase_collision)
 check broad phase collision and self collision, return 10 contacts More...
 
 BOOST_AUTO_TEST_CASE (test_core_bf_broad_phase_collision_binary)
 check broad phase collision and self collision, only return collision or not More...
 
 BOOST_AUTO_TEST_CASE (test_core_bf_broad_phase_collision_empty)
 check broad phase collision for empty collision object set and queries More...
 
 BOOST_AUTO_TEST_CASE (test_core_mesh_bf_broad_phase_collision_mesh)
 check broad phase collision and self collision, return 10 contacts, in mesh More...
 
 BOOST_AUTO_TEST_CASE (test_core_mesh_bf_broad_phase_collision_mesh_binary)
 
 BOOST_AUTO_TEST_CASE (test_core_mesh_bf_broad_phase_collision_mesh_exhaustive)
 check broad phase collision and self collision, exhaustive, in mesh More...
 
void broad_phase_collision_test (FCL_REAL env_scale, std::size_t env_size, std::size_t query_size, std::size_t num_max_contacts=1, bool exhaustive=false, bool use_mesh=false)
 test for broad phase collision and self collision More...
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   BROADPHASE_COLLISION_2
Author
Jia Pan

Definition at line 38 of file broadphase_collision_2.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( test_core_bf_broad_phase_collision  )

check broad phase collision and self collision, return 10 contacts

Definition at line 141 of file broadphase_collision_2.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( test_core_bf_broad_phase_collision_binary  )

check broad phase collision and self collision, only return collision or not

Definition at line 126 of file broadphase_collision_2.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( test_core_bf_broad_phase_collision_empty  )

check broad phase collision for empty collision object set and queries

Definition at line 89 of file broadphase_collision_2.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( test_core_mesh_bf_broad_phase_collision_mesh  )

check broad phase collision and self collision, return 10 contacts, in mesh

Definition at line 164 of file broadphase_collision_2.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( test_core_mesh_bf_broad_phase_collision_mesh_binary  )

check broad phase collision and self collision, return only collision or not, in mesh

Definition at line 153 of file broadphase_collision_2.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( test_core_mesh_bf_broad_phase_collision_mesh_exhaustive  )

check broad phase collision and self collision, exhaustive, in mesh

Definition at line 175 of file broadphase_collision_2.cpp.

◆ broad_phase_collision_test()

void broad_phase_collision_test ( FCL_REAL  env_scale,
std::size_t  env_size,
std::size_t  query_size,
std::size_t  num_max_contacts = 1,
bool  exhaustive = false,
bool  use_mesh = false 
)

test for broad phase collision and self collision

Definition at line 185 of file broadphase_collision_2.cpp.



hpp-fcl
Author(s):
autogenerated on Fri Jan 26 2024 03:46:15