Macros | Functions | Variables
broadphase.cpp File Reference
#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>
Include dependency graph for broadphase.cpp:

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
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   FCL_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 414 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

FCL_REAL DELTA = 0.01

Definition at line 78 of file broadphase.cpp.



hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:02