Classes | Macros | Typedefs | Functions
test/gjk.cpp File Reference
#include <time.h>
#include <boost/test/included/unit_test.hpp>
#include <Eigen/Geometry>
#include "coal/narrowphase/narrowphase.h"
#include "coal/shape/geometric_shapes.h"
#include "coal/internal/tools.h"
#include "coal/internal/shape_shape_func.h"
#include "utility.h"
Include dependency graph for test/gjk.cpp:

Go to the source code of this file.

Classes

struct  Result
 

Macros

#define BOOST_TEST_MODULE   COAL_GJK
 

Typedefs

typedef Eigen::Matrix< CoalScalar, Eigen::Dynamic, Eigen::Dynamic > matrix_t
 
typedef std::vector< ResultResults_t
 
typedef Eigen::Matrix< CoalScalar, 4, 1 > vector4_t
 
typedef Eigen::Matrix< CoalScalar, 6, 1 > vector6_t
 
typedef Eigen::Matrix< CoalScalar, Eigen::Dynamic, 1 > vector_t
 

Functions

 BOOST_AUTO_TEST_CASE (distance_triangle_triangle)
 
 BOOST_AUTO_TEST_CASE (distance_triangle_triangle_nesterov)
 
 BOOST_AUTO_TEST_CASE (sphere_sphere)
 
 BOOST_AUTO_TEST_CASE (triangle_capsule)
 
void test_gjk_distance_triangle_triangle (bool enable_gjk_nesterov_acceleration)
 
void test_gjk_triangle_capsule (Vec3s T, bool expect_collision, bool use_gjk_nesterov_acceleration, Vec3s w0_expected, Vec3s w1_expected)
 
void test_gjk_unit_sphere (CoalScalar center_distance, Vec3s ray, double swept_sphere_radius, bool use_gjk_nesterov_acceleration)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   COAL_GJK
Author
Florent Lamiraux flore.nosp@m.nt@l.nosp@m.aas.f.nosp@m.r

Definition at line 37 of file test/gjk.cpp.

Typedef Documentation

◆ matrix_t

typedef Eigen::Matrix<CoalScalar, Eigen::Dynamic, Eigen::Dynamic> matrix_t

Definition at line 61 of file test/gjk.cpp.

◆ Results_t

typedef std::vector<Result> Results_t

Definition at line 69 of file test/gjk.cpp.

◆ vector4_t

typedef Eigen::Matrix<CoalScalar, 4, 1> vector4_t

Definition at line 60 of file test/gjk.cpp.

◆ vector6_t

typedef Eigen::Matrix<CoalScalar, 6, 1> vector6_t

Definition at line 59 of file test/gjk.cpp.

◆ vector_t

typedef Eigen::Matrix<CoalScalar, Eigen::Dynamic, 1> vector_t

Definition at line 58 of file test/gjk.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( distance_triangle_triangle  )

Definition at line 329 of file test/gjk.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( distance_triangle_triangle_nesterov  )

Definition at line 333 of file test/gjk.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( sphere_sphere  )

Definition at line 387 of file test/gjk.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( triangle_capsule  )

Definition at line 469 of file test/gjk.cpp.

◆ test_gjk_distance_triangle_triangle()

void test_gjk_distance_triangle_triangle ( bool  enable_gjk_nesterov_acceleration)

Definition at line 71 of file test/gjk.cpp.

◆ test_gjk_triangle_capsule()

void test_gjk_triangle_capsule ( Vec3s  T,
bool  expect_collision,
bool  use_gjk_nesterov_acceleration,
Vec3s  w0_expected,
Vec3s  w1_expected 
)

Definition at line 416 of file test/gjk.cpp.

◆ test_gjk_unit_sphere()

void test_gjk_unit_sphere ( CoalScalar  center_distance,
Vec3s  ray,
double  swept_sphere_radius,
bool  use_gjk_nesterov_acceleration 
)

Definition at line 337 of file test/gjk.cpp.



hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:59