Functions | Variables
test_fcl_collision.cpp File Reference
#include <gtest/gtest.h>
#include "fcl/math/bv/utility.h"
#include "fcl/narrowphase/collision.h"
#include "fcl/narrowphase/detail/gjk_solver_indep.h"
#include "fcl/narrowphase/detail/gjk_solver_libccd.h"
#include "fcl/narrowphase/detail/traversal/collision_node.h"
#include "fcl/narrowphase/continuous_collision.h"
#include "test_fcl_utility.h"
#include "fcl_resources/config.h"
Include dependency graph for test_fcl_collision.cpp:

Go to the source code of this file.

Functions

template<typename BV >
bool collide_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, bool verbose=true)
 
template<typename BV >
bool collide_Test2 (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, bool verbose=true)
 
template<typename BV , typename TraversalNode >
bool collide_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, bool verbose=true)
 
template<typename S >
std::vector< Contact< S > > & global_pairs ()
 
template<typename S >
std::vector< Contact< S > > & global_pairs_now ()
 
 GTEST_TEST (FCL_COLLISION, mesh_mesh)
 
 GTEST_TEST (FCL_COLLISION, OBB_AABB_test)
 
 GTEST_TEST (FCL_COLLISION, OBB_Box_test)
 
 GTEST_TEST (FCL_COLLISION, OBB_shape_test)
 
 GTEST_TEST (FCL_COLLISION, test_SplineMotion_rotated_spline_collide_test)
 
int main (int argc, char *argv[])
 
template<typename BV >
bool test_collide_func (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)
 
template<typename S >
void test_mesh_mesh ()
 
template<typename S >
void test_OBB_AABB_test ()
 
template<typename S >
void test_OBB_Box_test ()
 
template<typename S >
void test_OBB_shape_test ()
 
template<typename S >
void test_SplineMotion_rotated_spline_collide_test ()
 

Variables

bool enable_contact = true
 
int num_max_contacts = std::numeric_limits<int>::max()
 

Function Documentation

◆ collide_Test()

template<typename BV >
bool collide_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,
bool  verbose = true 
)

Definition at line 987 of file test_fcl_collision.cpp.

◆ collide_Test2()

template<typename BV >
bool collide_Test2 ( 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,
bool  verbose = true 
)

Definition at line 918 of file test_fcl_collision.cpp.

◆ collide_Test_Oriented()

template<typename BV , typename TraversalNode >
bool collide_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,
bool  verbose = true 
)

Definition at line 1048 of file test_fcl_collision.cpp.

◆ global_pairs()

template<typename S >
std::vector<Contact<S> >& global_pairs ( )

Definition at line 78 of file test_fcl_collision.cpp.

◆ global_pairs_now()

template<typename S >
std::vector<Contact<S> >& global_pairs_now ( )

Definition at line 85 of file test_fcl_collision.cpp.

◆ GTEST_TEST() [1/5]

GTEST_TEST ( FCL_COLLISION  ,
mesh_mesh   
)

Definition at line 911 of file test_fcl_collision.cpp.

◆ GTEST_TEST() [2/5]

GTEST_TEST ( FCL_COLLISION  ,
OBB_AABB_test   
)

Definition at line 905 of file test_fcl_collision.cpp.

◆ GTEST_TEST() [3/5]

GTEST_TEST ( FCL_COLLISION  ,
OBB_Box_test   
)

Definition at line 890 of file test_fcl_collision.cpp.

◆ GTEST_TEST() [4/5]

GTEST_TEST ( FCL_COLLISION  ,
OBB_shape_test   
)

Definition at line 899 of file test_fcl_collision.cpp.

◆ GTEST_TEST() [5/5]

GTEST_TEST ( FCL_COLLISION  ,
test_SplineMotion_rotated_spline_collide_test   
)

Definition at line 145 of file test_fcl_collision.cpp.

◆ main()

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

Definition at line 1153 of file test_fcl_collision.cpp.

◆ test_collide_func()

template<typename BV >
bool test_collide_func ( 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 
)

Definition at line 1108 of file test_fcl_collision.cpp.

◆ test_mesh_mesh()

template<typename S >
void test_mesh_mesh ( )

Definition at line 314 of file test_fcl_collision.cpp.

◆ test_OBB_AABB_test()

template<typename S >
void test_OBB_AABB_test ( )

Definition at line 272 of file test_fcl_collision.cpp.

◆ test_OBB_Box_test()

template<typename S >
void test_OBB_Box_test ( )

Definition at line 151 of file test_fcl_collision.cpp.

◆ test_OBB_shape_test()

template<typename S >
void test_OBB_shape_test ( )

Definition at line 196 of file test_fcl_collision.cpp.

◆ test_SplineMotion_rotated_spline_collide_test()

template<typename S >
void test_SplineMotion_rotated_spline_collide_test ( )

Definition at line 92 of file test_fcl_collision.cpp.

Variable Documentation

◆ enable_contact

bool enable_contact = true

Definition at line 75 of file test_fcl_collision.cpp.

◆ num_max_contacts

int num_max_contacts = std::numeric_limits<int>::max()

Definition at line 74 of file test_fcl_collision.cpp.



fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:50