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

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   COAL_DISTANCE
 

Functions

 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)
 

Variables

CoalScalar DELTA = 0.001
 
bool verbose = false
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   COAL_DISTANCE
Author
Jia Pan

Definition at line 38 of file test/distance.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( mesh_distance  )

Definition at line 89 of file test/distance.cpp.

◆ 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 
)

Definition at line 568 of file test/distance.cpp.

◆ 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 
)

Definition at line 519 of file test/distance.cpp.

◆ 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 
)

Definition at line 471 of file test/distance.cpp.

◆ nearlyEqual()

bool nearlyEqual ( const Vec3s a,
const Vec3s b 
)
inline

Definition at line 82 of file test/distance.cpp.

Variable Documentation

◆ DELTA

CoalScalar DELTA = 0.001

Definition at line 56 of file test/distance.cpp.

◆ verbose

bool verbose = false

Definition at line 55 of file test/distance.cpp.



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