Classes | Functions
test_fcl_sphere_sphere.cpp File Reference
#include <memory>
#include <utility>
#include <vector>
#include <gtest/gtest.h>
#include <Eigen/Dense>
#include "eigen_matrix_compare.h"
#include "fcl/narrowphase/collision_object.h"
#include "fcl/narrowphase/distance.h"
#include "fcl/narrowphase/distance_request.h"
#include "fcl/narrowphase/distance_result.h"
Include dependency graph for test_fcl_sphere_sphere.cpp:

Go to the source code of this file.

Classes

struct  SphereSpecification< S >
 
struct  SphereSphereDistance< S >
 

Functions

template<typename S >
void CheckSphereToSphereDistance (const SphereSpecification< S > &sphere1, const SphereSpecification< S > &sphere2, fcl::GJKSolverType solver_type, bool enable_nearest_points, bool enable_signed_distance, S min_distance_expected, const fcl::Vector3< S > &p1_expected, const fcl::Vector3< S > &p2_expected, S tol)
 
template<typename S >
ComputeSphereSphereDistance (S radius1, S radius2, const fcl::Vector3< S > &p_FA, const fcl::Vector3< S > &p_FB, fcl::GJKSolverType solver_type, bool enable_nearest_points, bool enable_signed_distance, fcl::DistanceResult< S > *result)
 
 GTEST_TEST (FCL_SPHERE_SPHERE, Separating_Spheres_INDEP)
 
 GTEST_TEST (FCL_SPHERE_SPHERE, Separating_Spheres_LIBCCD)
 
int main (int argc, char *argv[])
 
template<typename S >
void TestSeparatingSpheres (S tol, fcl::GJKSolverType solver_type)
 

Function Documentation

◆ CheckSphereToSphereDistance()

template<typename S >
void CheckSphereToSphereDistance ( const SphereSpecification< S > &  sphere1,
const SphereSpecification< S > &  sphere2,
fcl::GJKSolverType  solver_type,
bool  enable_nearest_points,
bool  enable_signed_distance,
min_distance_expected,
const fcl::Vector3< S > &  p1_expected,
const fcl::Vector3< S > &  p2_expected,
tol 
)

Definition at line 96 of file test_fcl_sphere_sphere.cpp.

◆ ComputeSphereSphereDistance()

template<typename S >
S ComputeSphereSphereDistance ( radius1,
radius2,
const fcl::Vector3< S > &  p_FA,
const fcl::Vector3< S > &  p_FB,
fcl::GJKSolverType  solver_type,
bool  enable_nearest_points,
bool  enable_signed_distance,
fcl::DistanceResult< S > *  result 
)

◆ GTEST_TEST() [1/2]

GTEST_TEST ( FCL_SPHERE_SPHERE  ,
Separating_Spheres_INDEP   
)

Definition at line 176 of file test_fcl_sphere_sphere.cpp.

◆ GTEST_TEST() [2/2]

GTEST_TEST ( FCL_SPHERE_SPHERE  ,
Separating_Spheres_LIBCCD   
)

Definition at line 180 of file test_fcl_sphere_sphere.cpp.

◆ main()

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

Definition at line 191 of file test_fcl_sphere_sphere.cpp.

◆ TestSeparatingSpheres()

template<typename S >
void TestSeparatingSpheres ( tol,
fcl::GJKSolverType  solver_type 
)

Definition at line 135 of file test_fcl_sphere_sphere.cpp.



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