#include <boost/test/unit_test.hpp>
#include "fcl/traversal/traversal_node_bvhs.h"
#include "fcl/traversal/traversal_node_setup.h"
#include "fcl/collision_node.h"
#include "test_fcl_utility.h"
#include <boost/timer.hpp>
#include "fcl_resources/config.h"
#include <boost/filesystem.hpp>
Go to the source code of this file.
Defines | |
#define | BOOST_TEST_MODULE "FCL_DISTANCE" |
Functions | |
BOOST_AUTO_TEST_CASE (mesh_distance) | |
bool | collide_Test_OBB (const Transform3f &tf, const std::vector< Vec3f > &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vec3f > &vertices2, const std::vector< Triangle > &triangles2, SplitMethodType split_method, bool verbose) |
template<typename BV > | |
void | distance_Test (const Transform3f &tf, const std::vector< Vec3f > &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vec3f > &vertices2, const std::vector< Triangle > &triangles2, SplitMethodType split_method, int qsize, DistanceRes &distance_result, bool verbose=true) |
template<typename BV , typename TraversalNode > | |
void | distance_Test_Oriented (const Transform3f &tf, const std::vector< Vec3f > &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vec3f > &vertices2, const std::vector< Triangle > &triangles2, SplitMethodType split_method, int qsize, DistanceRes &distance_result, bool verbose=true) |
bool | nearlyEqual (const Vec3f &a, const Vec3f &b) |
Variables | |
FCL_REAL | DELTA = 0.001 |
bool | verbose = false |
#define BOOST_TEST_MODULE "FCL_DISTANCE" |
Definition at line 37 of file test_fcl_distance.cpp.
BOOST_AUTO_TEST_CASE | ( | mesh_distance | ) |
Definition at line 84 of file test_fcl_distance.cpp.
bool collide_Test_OBB | ( | const Transform3f & | tf, |
const std::vector< Vec3f > & | vertices1, | ||
const std::vector< Triangle > & | triangles1, | ||
const std::vector< Vec3f > & | vertices2, | ||
const std::vector< Triangle > & | triangles2, | ||
SplitMethodType | split_method, | ||
bool | verbose | ||
) |
Definition at line 395 of file test_fcl_distance.cpp.
void distance_Test | ( | const Transform3f & | tf, |
const std::vector< Vec3f > & | vertices1, | ||
const std::vector< Triangle > & | triangles1, | ||
const std::vector< Vec3f > & | vertices2, | ||
const std::vector< Triangle > & | triangles2, | ||
SplitMethodType | split_method, | ||
int | qsize, | ||
DistanceRes & | distance_result, | ||
bool | verbose = true |
||
) |
Definition at line 347 of file test_fcl_distance.cpp.
void distance_Test_Oriented | ( | const Transform3f & | tf, |
const std::vector< Vec3f > & | vertices1, | ||
const std::vector< Triangle > & | triangles1, | ||
const std::vector< Vec3f > & | vertices2, | ||
const std::vector< Triangle > & | triangles2, | ||
SplitMethodType | split_method, | ||
int | qsize, | ||
DistanceRes & | distance_result, | ||
bool | verbose = true |
||
) |
Definition at line 297 of file test_fcl_distance.cpp.
bool nearlyEqual | ( | const Vec3f & | a, |
const Vec3f & | b | ||
) | [inline] |
Definition at line 75 of file test_fcl_distance.cpp.
Definition at line 51 of file test_fcl_distance.cpp.
bool verbose = false |
Definition at line 50 of file test_fcl_distance.cpp.