Macros | Functions
broadphase_collision_2.cpp File Reference
#include <boost/test/included/unit_test.hpp>
#include "coal/broadphase/broadphase_bruteforce.h"
#include "coal/broadphase/broadphase_spatialhash.h"
#include "coal/broadphase/broadphase_SaP.h"
#include "coal/broadphase/broadphase_SSaP.h"
#include "coal/broadphase/broadphase_interval_tree.h"
#include "coal/broadphase/broadphase_dynamic_AABB_tree.h"
#include "coal/broadphase/broadphase_dynamic_AABB_tree_array.h"
#include "coal/broadphase/default_broadphase_callbacks.h"
#include "coal/broadphase/detail/sparse_hash_table.h"
#include "coal/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   COAL_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 (CoalScalar 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   COAL_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 ( CoalScalar  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 Sat Nov 23 2024 03:44:59