#include <boost/test/included/unit_test.hpp>
#include <cmath>
#include <iostream>
#include "coal/distance.h"
#include "coal/math/transform.h"
#include "coal/collision.h"
#include "coal/collision_object.h"
#include "coal/shape/geometric_shapes.h"
#include "coal/shape/geometric_shapes_utility.h"
#include "coal/shape/geometric_shape_to_BVH_model.h"
#include "utility.h"
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE COAL_SECURITY_MARGIN |
#define | MATH_SQUARED(x) (x * x) |
Functions | |
BOOST_AUTO_TEST_CASE (aabb_aabb) | |
BOOST_AUTO_TEST_CASE (aabb_aabb_degenerated_cases) | |
BOOST_AUTO_TEST_CASE (box_box) | |
BOOST_AUTO_TEST_CASE (capsule_capsule) | |
BOOST_AUTO_TEST_CASE (sphere_box) | |
BOOST_AUTO_TEST_CASE (sphere_sphere) | |
template<typename ShapeType1 , typename ShapeType2 > | |
void | test_shape_shape (const ShapeType1 &shape1, const Transform3s &tf1, const ShapeType2 &shape2, const Transform3s &tf2_collision, const CoalScalar tol) |
#define BOOST_TEST_MODULE COAL_SECURITY_MARGIN |
Definition at line 35 of file security_margin.cpp.
Definition at line 60 of file security_margin.cpp.
BOOST_AUTO_TEST_CASE | ( | aabb_aabb | ) |
Definition at line 62 of file security_margin.cpp.
BOOST_AUTO_TEST_CASE | ( | aabb_aabb_degenerated_cases | ) |
Definition at line 152 of file security_margin.cpp.
BOOST_AUTO_TEST_CASE | ( | box_box | ) |
Definition at line 334 of file security_margin.cpp.
BOOST_AUTO_TEST_CASE | ( | capsule_capsule | ) |
Definition at line 260 of file security_margin.cpp.
BOOST_AUTO_TEST_CASE | ( | sphere_box | ) |
Definition at line 490 of file security_margin.cpp.
BOOST_AUTO_TEST_CASE | ( | sphere_sphere | ) |
Definition at line 182 of file security_margin.cpp.
void test_shape_shape | ( | const ShapeType1 & | shape1, |
const Transform3s & | tf1, | ||
const ShapeType2 & | shape2, | ||
const Transform3s & | tf2_collision, | ||
const CoalScalar | tol | ||
) |
Definition at line 414 of file security_margin.cpp.