Macros | Functions
security_margin.cpp File Reference
#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"
Include dependency graph for security_margin.cpp:

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 (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 Transform3f &tf1, const ShapeType2 &shape2, const Transform3f &tf2_collision, const FCL_REAL tol)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   FCL_SECURITY_MARGIN

Definition at line 35 of file security_margin.cpp.

◆ MATH_SQUARED

#define MATH_SQUARED (   x)    (x * x)

Definition at line 60 of file security_margin.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( aabb_aabb  )

Definition at line 62 of file security_margin.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( aabb_aabb_degenerated_cases  )

Definition at line 152 of file security_margin.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( box_box  )

Definition at line 331 of file security_margin.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( capsule_capsule  )

Definition at line 257 of file security_margin.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( sphere_box  )

Definition at line 487 of file security_margin.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( sphere_sphere  )

Definition at line 182 of file security_margin.cpp.

◆ test_shape_shape()

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 
)

Definition at line 411 of file security_margin.cpp.



hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:16