#include <gtest/gtest.h>
#include "fcl/narrowphase/detail/traversal/collision_node.h"
#include "test_fcl_utility.h"
#include "eigen_matrix_compare.h"
#include "fcl_resources/config.h"
Go to the source code of this file.
Functions | |
template<typename S > | |
bool | collide_Test_OBB (const Transform3< S > &tf, const std::vector< Vector3< S >> &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vector3< S >> &vertices2, const std::vector< Triangle > &triangles2, detail::SplitMethodType split_method, bool verbose) |
template<typename S > | |
S | DELTA () |
template<typename BV > | |
void | distance_Test (const Transform3< typename BV::S > &tf, const std::vector< Vector3< typename BV::S >> &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vector3< typename BV::S >> &vertices2, const std::vector< Triangle > &triangles2, detail::SplitMethodType split_method, int qsize, test::DistanceRes< typename BV::S > &distance_result, bool verbose=true) |
template<typename BV , typename TraversalNode > | |
void | distance_Test_Oriented (const Transform3< typename BV::S > &tf, const std::vector< Vector3< typename BV::S >> &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vector3< typename BV::S >> &vertices2, const std::vector< Triangle > &triangles2, detail::SplitMethodType split_method, int qsize, test::DistanceRes< typename BV::S > &distance_result, bool verbose=true) |
GTEST_TEST (FCL_DISTANCE, mesh_distance) | |
GTEST_TEST (FCL_DISTANCE, NearestPointFromDegenerateSimplex) | |
int | main (int argc, char *argv[]) |
template<typename S > | |
void | NearestPointFromDegenerateSimplex () |
template<typename S > | |
bool | nearlyEqual (const Vector3< S > &a, const Vector3< S > &b) |
template<typename S > | |
void | test_mesh_distance () |
Variables | |
bool | verbose = false |
bool collide_Test_OBB | ( | const Transform3< S > & | tf, |
const std::vector< Vector3< S >> & | vertices1, | ||
const std::vector< Triangle > & | triangles1, | ||
const std::vector< Vector3< S >> & | vertices2, | ||
const std::vector< Triangle > & | triangles2, | ||
detail::SplitMethodType | split_method, | ||
bool | verbose | ||
) |
Definition at line 491 of file test_fcl_distance.cpp.
S DELTA | ( | ) |
Definition at line 53 of file test_fcl_distance.cpp.
void distance_Test | ( | const Transform3< typename BV::S > & | tf, |
const std::vector< Vector3< typename BV::S >> & | vertices1, | ||
const std::vector< Triangle > & | triangles1, | ||
const std::vector< Vector3< typename BV::S >> & | vertices2, | ||
const std::vector< Triangle > & | triangles2, | ||
detail::SplitMethodType | split_method, | ||
int | qsize, | ||
test::DistanceRes< typename BV::S > & | distance_result, | ||
bool | verbose = true |
||
) |
Definition at line 440 of file test_fcl_distance.cpp.
void distance_Test_Oriented | ( | const Transform3< typename BV::S > & | tf, |
const std::vector< Vector3< typename BV::S >> & | vertices1, | ||
const std::vector< Triangle > & | triangles1, | ||
const std::vector< Vector3< typename BV::S >> & | vertices2, | ||
const std::vector< Triangle > & | triangles2, | ||
detail::SplitMethodType | split_method, | ||
int | qsize, | ||
test::DistanceRes< typename BV::S > & | distance_result, | ||
bool | verbose = true |
||
) |
Definition at line 388 of file test_fcl_distance.cpp.
GTEST_TEST | ( | FCL_DISTANCE | , |
mesh_distance | |||
) |
Definition at line 306 of file test_fcl_distance.cpp.
GTEST_TEST | ( | FCL_DISTANCE | , |
NearestPointFromDegenerateSimplex | |||
) |
Definition at line 383 of file test_fcl_distance.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 525 of file test_fcl_distance.cpp.
void NearestPointFromDegenerateSimplex | ( | ) |
Definition at line 313 of file test_fcl_distance.cpp.
Definition at line 77 of file test_fcl_distance.cpp.
void test_mesh_distance | ( | ) |
Definition at line 86 of file test_fcl_distance.cpp.
bool verbose = false |
Definition at line 50 of file test_fcl_distance.cpp.