#include <chrono>
#include <boost/test/included/unit_test.hpp>
#include <boost/filesystem.hpp>
#include "coal/internal/traversal_node_bvhs.h"
#include "coal/internal/traversal_node_setup.h"
#include "../src/collision_node.h"
#include "coal/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 Transform3s &tf, const std::vector< Vec3s > &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vec3s > &vertices2, const std::vector< Triangle > &triangles2, SplitMethodType split_method, bool verbose) |
|
template<typename BV > |
void | distance_Test (const Transform3s &tf, const std::vector< Vec3s > &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vec3s > &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 Transform3s &tf, const std::vector< Vec3s > &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vec3s > &vertices2, const std::vector< Triangle > &triangles2, SplitMethodType split_method, unsigned int qsize, DistanceRes &distance_result, bool verbose=true) |
|
bool | nearlyEqual (const Vec3s &a, const Vec3s &b) |
|
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE COAL_DISTANCE |
◆ BOOST_AUTO_TEST_CASE()
BOOST_AUTO_TEST_CASE |
( |
mesh_distance |
| ) |
|
◆ collide_Test_OBB()
bool collide_Test_OBB |
( |
const Transform3s & |
tf, |
|
|
const std::vector< Vec3s > & |
vertices1, |
|
|
const std::vector< Triangle > & |
triangles1, |
|
|
const std::vector< Vec3s > & |
vertices2, |
|
|
const std::vector< Triangle > & |
triangles2, |
|
|
SplitMethodType |
split_method, |
|
|
bool |
verbose |
|
) |
| |
◆ distance_Test()
template<typename BV >
void distance_Test |
( |
const Transform3s & |
tf, |
|
|
const std::vector< Vec3s > & |
vertices1, |
|
|
const std::vector< Triangle > & |
triangles1, |
|
|
const std::vector< Vec3s > & |
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 Transform3s & |
tf, |
|
|
const std::vector< Vec3s > & |
vertices1, |
|
|
const std::vector< Triangle > & |
triangles1, |
|
|
const std::vector< Vec3s > & |
vertices2, |
|
|
const std::vector< Triangle > & |
triangles2, |
|
|
SplitMethodType |
split_method, |
|
|
unsigned int |
qsize, |
|
|
DistanceRes & |
distance_result, |
|
|
bool |
verbose = true |
|
) |
| |
◆ nearlyEqual()
bool nearlyEqual |
( |
const Vec3s & |
a, |
|
|
const Vec3s & |
b |
|
) |
| |
|
inline |
◆ DELTA
◆ verbose