#include "fcl/BV/OBB.h"
#include "fcl/BVH/BVH_utility.h"
#include "fcl/math/transform.h"
#include <iostream>
#include <limits>
Go to the source code of this file.
Namespaces | |
namespace | fcl |
Main namespace. | |
Functions | |
void | fcl::computeVertices (const OBB &b, Vec3f vertices[8]) |
Compute the 8 vertices of a OBB. | |
OBB | fcl::merge_largedist (const OBB &b1, const OBB &b2) |
OBB merge method when the centers of two smaller OBB are far away. | |
OBB | fcl::merge_smalldist (const OBB &b1, const OBB &b2) |
OBB merge method when the centers of two smaller OBB are close. | |
bool | fcl::obbDisjoint (const Matrix3f &B, const Vec3f &T, const Vec3f &a, const Vec3f &b) |
Check collision between two boxes: the first box is in configuration (R, T) and its half dimension is set by a; the second box is in identity configuration and its half dimension is set by b. | |
bool | fcl::overlap (const Matrix3f &R0, const Vec3f &T0, const OBB &b1, const OBB &b2) |
Check collision between two obbs, b1 is in configuration (R0, T0) and b2 is in identity. | |
OBB | fcl::translate (const OBB &bv, const Vec3f &t) |
Translate the OBB bv. |