#include <boost/test/included/unit_test.hpp>
#include "coal/narrowphase/narrowphase.h"
#include "coal/collision_utility.h"
#include "coal/serialization/geometric_shapes.h"
#include "coal/serialization/convex.h"
#include "coal/serialization/transform.h"
#include "coal/serialization/archive.h"
#include "utility.h"
Go to the source code of this file.
Classes | |
struct | SweptSphereGJKSolver |
Macros | |
#define | BOOST_TEST_MODULE COAL_SWEPT_SPHERE_RADIUS |
#define | COAL_CHECK(cond) |
#define | COAL_CHECK_CONDITION(cond) |
#define | COAL_CHECK_REAL_CLOSE(v1, v2, tol) |
#define | COAL_CHECK_VECTOR_CLOSE(v1, v2, tol) |
#define | SET_LINE |
Functions | |
BOOST_AUTO_TEST_CASE (ssr_box_box) | |
BOOST_AUTO_TEST_CASE (ssr_capsule_capsule) | |
BOOST_AUTO_TEST_CASE (ssr_capsule_cone) | |
BOOST_AUTO_TEST_CASE (ssr_cone_cone) | |
BOOST_AUTO_TEST_CASE (ssr_cone_ellipsoid) | |
BOOST_AUTO_TEST_CASE (ssr_cylinder_cylinder) | |
BOOST_AUTO_TEST_CASE (ssr_ellipsoid_box) | |
BOOST_AUTO_TEST_CASE (ssr_ellipsoid_ellipsoid) | |
BOOST_AUTO_TEST_CASE (ssr_geom_geom) | |
BOOST_AUTO_TEST_CASE (ssr_mesh_ellipsoid) | |
BOOST_AUTO_TEST_CASE (ssr_mesh_mesh) | |
template<typename S1 , typename S2 > | |
void | test_collide_swept_sphere_radius (S1 &shape1, S2 &shape2) |
template<typename S1 , typename S2 > | |
void | test_gjksolver_swept_sphere_radius (S1 &shape1, S2 &shape2) |
Variables | |
int | line |
static const CoalScalar | max_shape_size = 0.5 |
static const CoalScalar | min_shape_size = 0.1 |
NODE_TYPE | node1_type |
NODE_TYPE | node2_type |
const std::vector< NODE_TYPE > | tested_geometries |
#define BOOST_TEST_MODULE COAL_SWEPT_SPHERE_RADIUS |
Definition at line 37 of file swept_sphere_radius.cpp.
#define COAL_CHECK | ( | cond | ) |
Definition at line 61 of file swept_sphere_radius.cpp.
#define COAL_CHECK_CONDITION | ( | cond | ) |
Definition at line 78 of file swept_sphere_radius.cpp.
#define COAL_CHECK_REAL_CLOSE | ( | v1, | |
v2, | |||
tol | |||
) |
Definition at line 74 of file swept_sphere_radius.cpp.
#define COAL_CHECK_VECTOR_CLOSE | ( | v1, | |
v2, | |||
tol | |||
) |
Definition at line 70 of file swept_sphere_radius.cpp.
#define SET_LINE |
Definition at line 56 of file swept_sphere_radius.cpp.
BOOST_AUTO_TEST_CASE | ( | ssr_box_box | ) |
Definition at line 221 of file swept_sphere_radius.cpp.
BOOST_AUTO_TEST_CASE | ( | ssr_capsule_capsule | ) |
Definition at line 254 of file swept_sphere_radius.cpp.
BOOST_AUTO_TEST_CASE | ( | ssr_capsule_cone | ) |
Definition at line 262 of file swept_sphere_radius.cpp.
BOOST_AUTO_TEST_CASE | ( | ssr_cone_cone | ) |
Definition at line 239 of file swept_sphere_radius.cpp.
BOOST_AUTO_TEST_CASE | ( | ssr_cone_ellipsoid | ) |
Definition at line 247 of file swept_sphere_radius.cpp.
BOOST_AUTO_TEST_CASE | ( | ssr_cylinder_cylinder | ) |
Definition at line 270 of file swept_sphere_radius.cpp.
BOOST_AUTO_TEST_CASE | ( | ssr_ellipsoid_box | ) |
Definition at line 233 of file swept_sphere_radius.cpp.
BOOST_AUTO_TEST_CASE | ( | ssr_ellipsoid_ellipsoid | ) |
Definition at line 227 of file swept_sphere_radius.cpp.
BOOST_AUTO_TEST_CASE | ( | ssr_geom_geom | ) |
Definition at line 367 of file swept_sphere_radius.cpp.
BOOST_AUTO_TEST_CASE | ( | ssr_mesh_ellipsoid | ) |
Definition at line 215 of file swept_sphere_radius.cpp.
BOOST_AUTO_TEST_CASE | ( | ssr_mesh_mesh | ) |
Definition at line 209 of file swept_sphere_radius.cpp.
void test_collide_swept_sphere_radius | ( | S1 & | shape1, |
S2 & | shape2 | ||
) |
Definition at line 279 of file swept_sphere_radius.cpp.
void test_gjksolver_swept_sphere_radius | ( | S1 & | shape1, |
S2 & | shape2 | ||
) |
Definition at line 136 of file swept_sphere_radius.cpp.
int line |
Definition at line 54 of file swept_sphere_radius.cpp.
|
static |
Definition at line 207 of file swept_sphere_radius.cpp.
|
static |
Definition at line 206 of file swept_sphere_radius.cpp.
NODE_TYPE node1_type |
Definition at line 52 of file swept_sphere_radius.cpp.
NODE_TYPE node2_type |
Definition at line 53 of file swept_sphere_radius.cpp.
const std::vector<NODE_TYPE> tested_geometries |
Definition at line 363 of file swept_sphere_radius.cpp.