#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"
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 > | |
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) |
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 | ||
) |
Definition at line 96 of file test_fcl_sphere_sphere.cpp.
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 | ||
) |
Definition at line 55 of file test_fcl_sphere_sphere.cpp.
GTEST_TEST | ( | FCL_SPHERE_SPHERE | , |
Separating_Spheres_INDEP | |||
) |
Definition at line 176 of file test_fcl_sphere_sphere.cpp.
GTEST_TEST | ( | FCL_SPHERE_SPHERE | , |
Separating_Spheres_LIBCCD | |||
) |
Definition at line 180 of file test_fcl_sphere_sphere.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 191 of file test_fcl_sphere_sphere.cpp.
void TestSeparatingSpheres | ( | S | tol, |
fcl::GJKSolverType | solver_type | ||
) |
Definition at line 135 of file test_fcl_sphere_sphere.cpp.