#include <boost/test/included/unit_test.hpp>
#include <cmath>
#include <iostream>
#include <hpp/fcl/distance.h>
#include <hpp/fcl/math/transform.h>
#include <hpp/fcl/collision.h>
#include <hpp/fcl/collision_object.h>
#include <hpp/fcl/shape/geometric_shapes.h>
#include <hpp/fcl/shape/geometric_shapes_utility.h>
#include <hpp/fcl/shape/geometric_shape_to_BVH_model.h>
#include "utility.h"
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE FCL_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 (sphere_sphere) | |
BOOST_AUTO_TEST_CASE (capsule_capsule) | |
BOOST_AUTO_TEST_CASE (box_box) | |
BOOST_AUTO_TEST_CASE (sphere_box) | |
template<typename ShapeType1 , typename ShapeType2 > | |
void | test_shape_shape (const ShapeType1 &shape1, const Transform3f &tf1, const ShapeType2 &shape2, const Transform3f &tf2_collision, const FCL_REAL tol) |
#define BOOST_TEST_MODULE FCL_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 | ( | sphere_sphere | ) |
Definition at line 182 of file security_margin.cpp.
BOOST_AUTO_TEST_CASE | ( | capsule_capsule | ) |
Definition at line 257 of file security_margin.cpp.
BOOST_AUTO_TEST_CASE | ( | box_box | ) |
Definition at line 331 of file security_margin.cpp.
BOOST_AUTO_TEST_CASE | ( | sphere_box | ) |
Definition at line 487 of file security_margin.cpp.
void test_shape_shape | ( | const ShapeType1 & | shape1, |
const Transform3f & | tf1, | ||
const ShapeType2 & | shape2, | ||
const Transform3f & | tf2_collision, | ||
const FCL_REAL | tol | ||
) |
Definition at line 411 of file security_margin.cpp.