hpp-fcl
1.4.4
HPP fork of FCL -- The Flexible Collision Library
|
Go to the documentation of this file.
42 #include <boost/math/constants/constants.hpp>
49 struct CollisionRequest;
82 sqrDistLowerBound = sqrt (-1);
96 *
this = *
this + other;
159 const CollisionRequest& request,
FCL_REAL height() const
Height of the RSS.
Definition: RSS.h:123
Eigen::Matrix< FCL_REAL, 3, 1 > Vec3f
Definition: data_types.h:73
Matrix3f axes
Orientation of RSS. axis[i] is the ith column of the orientation matrix for the RSS; it is also the i...
Definition: RSS.h:60
FCL_REAL depth() const
Depth of the RSS.
Definition: RSS.h:129
FCL_REAL distance(const Matrix3f &R0, const Vec3f &T0, const kIOS &b1, const kIOS &b2, Vec3f *P=NULL, Vec3f *Q=NULL)
Approximate distance between two kIOS bounding volumes.
Vec3f Tr
Origin of the rectangle in RSS.
Definition: RSS.h:63
double FCL_REAL
Definition: data_types.h:68
Main namespace.
Definition: AABB.h:43
request to the collision algorithm
Definition: collision_data.h:150
bool overlap(const RSS &other, RSS &) const
Check collision between two RSS and return the overlap part. For RSS, we return nothing,...
Definition: RSS.h:142
bool overlap(const RSS &other, const CollisionRequest &, FCL_REAL &sqrDistLowerBound) const
Not implemented.
Definition: RSS.h:79
RSS & operator+=(const Vec3f &p)
A simple way to merge the RSS and a point, not compact.
Eigen::Matrix< FCL_REAL, 3, 3 > Matrix3f
Definition: data_types.h:74
RSS operator+(const RSS &other) const
Return the merged RSS of current RSS and the other one.
bool overlap(const Matrix3f &R0, const Vec3f &T0, const AABB &b1, const AABB &b2)
Check collision between two aabbs, b1 is in configuration (R0, T0) and b2 is in identity.
FCL_REAL distance(const RSS &other, Vec3f *P=NULL, Vec3f *Q=NULL) const
the distance between two RSS; P and Q, if not NULL, return the nearest points
const Vec3f & center() const
The RSS center.
Definition: RSS.h:111
FCL_REAL size() const
Size of the RSS (used in BV_Splitter to order two RSSs)
Definition: RSS.h:105
FCL_REAL width() const
Width of the RSS.
Definition: RSS.h:117
FCL_REAL length[2]
Side lengths of rectangle.
Definition: RSS.h:66
bool contain(const Vec3f &p) const
Check whether the RSS contains a point.
bool overlap(const RSS &other) const
Check collision between two RSS.
FCL_REAL radius
Radius of sphere summed with rectangle to form RSS.
Definition: RSS.h:69
FCL_REAL volume() const
Volume of the RSS.
Definition: RSS.h:135