Macros | Functions | Variables
broadphase.cpp File Reference
#include <boost/test/included/unit_test.hpp>
#include "coal/config.hh"
#include "coal/broadphase/broadphase.h"
#include "coal/shape/geometric_shape_to_BVH_model.h"
#include "coal/math/transform.h"
#include "utility.h"
#include <boost/math/constants/constants.hpp>
#include <iostream>
#include <iomanip>
Include dependency graph for broadphase.cpp:

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   COAL_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

CoalScalar DELTA = 0.01
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   COAL_BROADPHASE
Author
Jia Pan

Definition at line 38 of file broadphase.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

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() [2/4]

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() [3/4]

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() [4/4]

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.

◆ broad_phase_distance_test()

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 415 of file broadphase.cpp.

◆ broad_phase_self_distance_test()

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.

◆ generateSelfDistanceEnvironments()

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.

◆ generateSelfDistanceEnvironmentsMesh()

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.

Variable Documentation

◆ DELTA

CoalScalar DELTA = 0.01

Definition at line 78 of file broadphase.cpp.



hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:59