#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"
Go to the source code of this file.
|
typedef Eigen::Matrix< CoalScalar, Eigen::Dynamic, Eigen::Dynamic > | matrix_t |
|
typedef std::vector< Result > | Results_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 |
|
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE COAL_GJK |
◆ matrix_t
typedef Eigen::Matrix<CoalScalar, Eigen::Dynamic, Eigen::Dynamic> matrix_t |
◆ Results_t
◆ vector4_t
typedef Eigen::Matrix<CoalScalar, 4, 1> vector4_t |
◆ vector6_t
typedef Eigen::Matrix<CoalScalar, 6, 1> vector6_t |
◆ vector_t
typedef Eigen::Matrix<CoalScalar, Eigen::Dynamic, 1> vector_t |
◆ BOOST_AUTO_TEST_CASE() [1/4]
BOOST_AUTO_TEST_CASE |
( |
distance_triangle_triangle |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/4]
BOOST_AUTO_TEST_CASE |
( |
distance_triangle_triangle_nesterov |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [3/4]
BOOST_AUTO_TEST_CASE |
( |
sphere_sphere |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [4/4]
BOOST_AUTO_TEST_CASE |
( |
triangle_capsule |
| ) |
|
◆ test_gjk_distance_triangle_triangle()
void test_gjk_distance_triangle_triangle |
( |
bool |
enable_gjk_nesterov_acceleration | ) |
|
◆ 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 |
|
) |
| |
◆ test_gjk_unit_sphere()
void test_gjk_unit_sphere |
( |
CoalScalar |
center_distance, |
|
|
Vec3s |
ray, |
|
|
double |
swept_sphere_radius, |
|
|
bool |
use_gjk_nesterov_acceleration |
|
) |
| |