#include "coal/data_types.h"
#include <boost/math/constants/constants.hpp>
Go to the source code of this file.
|
COAL_DLLAPI CoalScalar | coal::distance (const Matrix3s &R0, const Vec3s &T0, const RSS &b1, const RSS &b2, Vec3s *P=NULL, Vec3s *Q=NULL) |
| distance between two RSS bounding volumes P and Q (optional return values) are the closest points in the rectangles, not the RSS. But the direction P - Q is the correct direction for cloest points Notice that P and Q are both in the local frame of the first RSS (not global frame and not even the local frame of object 1) More...
|
|
COAL_DLLAPI bool | coal::overlap (const Matrix3s &R0, const Vec3s &T0, const RSS &b1, const RSS &b2) |
| Check collision between two RSSs, b1 is in configuration (R0, T0) and b2 is in identity. More...
|
|
COAL_DLLAPI bool | coal::overlap (const Matrix3s &R0, const Vec3s &T0, const RSS &b1, const RSS &b2, const CollisionRequest &request, CoalScalar &sqrDistLowerBound) |
| Check collision between two RSSs, b1 is in configuration (R0, T0) and b2 is in identity. More...
|
|