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

Go to the source code of this file.

Macros

#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, 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)
 

Variables

FCL_REAL DELTA = 0.001
 
bool verbose = false
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   FCL_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 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 568 of file test/distance.cpp.

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

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

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

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

◆ nearlyEqual()

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

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

Variable Documentation

◆ DELTA

FCL_REAL 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 Fri Aug 2 2024 02:45:15