Defines | Functions | Variables
test_fcl_distance.cpp File Reference
#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>
Include dependency graph for test_fcl_distance.cpp:

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 Documentation

#define BOOST_TEST_MODULE   "FCL_DISTANCE"
Author:
Jia Pan

Definition at line 37 of file test_fcl_distance.cpp.


Function Documentation

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.

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 
)

Definition at line 347 of file test_fcl_distance.cpp.

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 
)

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.


Variable Documentation

FCL_REAL DELTA = 0.001

Definition at line 51 of file test_fcl_distance.cpp.

bool verbose = false

Definition at line 50 of file test_fcl_distance.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:31