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

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

Function Documentation

◆ collide_Test_OBB()

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 
)

Definition at line 491 of file test_fcl_distance.cpp.

◆ DELTA()

template<typename S >
S DELTA ( )

Definition at line 53 of file test_fcl_distance.cpp.

◆ distance_Test()

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 
)

Definition at line 440 of file test_fcl_distance.cpp.

◆ distance_Test_Oriented()

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 
)

Definition at line 388 of file test_fcl_distance.cpp.

◆ GTEST_TEST() [1/2]

GTEST_TEST ( FCL_DISTANCE  ,
mesh_distance   
)

Definition at line 306 of file test_fcl_distance.cpp.

◆ GTEST_TEST() [2/2]

GTEST_TEST ( FCL_DISTANCE  ,
NearestPointFromDegenerateSimplex   
)

Definition at line 383 of file test_fcl_distance.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 525 of file test_fcl_distance.cpp.

◆ NearestPointFromDegenerateSimplex()

template<typename S >
void NearestPointFromDegenerateSimplex ( )

Definition at line 313 of file test_fcl_distance.cpp.

◆ nearlyEqual()

template<typename S >
bool nearlyEqual ( const Vector3< S > &  a,
const Vector3< S > &  b 
)

Definition at line 77 of file test_fcl_distance.cpp.

◆ test_mesh_distance()

template<typename S >
void test_mesh_distance ( )

Definition at line 86 of file test_fcl_distance.cpp.

Variable Documentation

◆ verbose

bool verbose = false

Definition at line 50 of file test_fcl_distance.cpp.



fcl
Author(s):
autogenerated on Sat Sep 11 2021 02:37:43