#include <chrono>
#include <boost/test/included/unit_test.hpp>
#include <boost/filesystem.hpp>
#include <hpp/fcl/internal/traversal_node_bvhs.h>
#include <hpp/fcl/internal/traversal_node_setup.h>
#include "../src/collision_node.h"
#include <hpp/fcl/internal/BV_splitter.h>
#include "utility.h"
#include "fcl_resources/config.h"
Go to the source code of this file.
|
| 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, unsigned 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, unsigned int qsize, DistanceRes &distance_result, bool verbose=true) |
|
bool | nearlyEqual (const Vec3f &a, const Vec3f &b) |
|
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE FCL_DISTANCE |
◆ BOOST_AUTO_TEST_CASE()
BOOST_AUTO_TEST_CASE |
( |
mesh_distance |
| ) |
|
◆ collide_Test_OBB()
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 |
|
) |
| |
◆ distance_Test()
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, |
|
|
unsigned int |
qsize, |
|
|
DistanceRes & |
distance_result, |
|
|
bool |
verbose = true |
|
) |
| |
◆ distance_Test_Oriented()
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, |
|
|
unsigned int |
qsize, |
|
|
DistanceRes & |
distance_result, |
|
|
bool |
verbose = true |
|
) |
| |
◆ nearlyEqual()
bool nearlyEqual |
( |
const Vec3f & |
a, |
|
|
const Vec3f & |
b |
|
) |
| |
|
inline |
◆ DELTA
◆ verbose