Go to the documentation of this file.
46 struct CollisionRequest;
54 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
64 return obb == other.
obb && rss == other.
rss;
81 return obb.overlap(other.
obb, request, sqrDistLowerBound);
87 Vec3s* Q = NULL)
const {
100 *
this = *
this + other;
108 result.
rss = rss + other.
rss;
147 return overlap(R0, T0, b1.
obb, b2.
obb, request, sqrDistLowerBound);
RSS rss
RSS member, for distance.
bool overlap(const OBBRSS &other) const
Check collision between two OBBRSS.
Eigen::Matrix< CoalScalar, 3, 1 > Vec3s
OBBRSS & operator+=(const Vec3s &p)
Merge the OBBRSS and a point.
CoalScalar distance(const RSS &other, Vec3s *P=NULL, Vec3s *Q=NULL) const
the distance between two RSS; P and Q, if not NULL, return the nearest points
CoalScalar depth() const
Depth of the OBBRSS.
OBBRSS & operator+=(const OBBRSS &other)
Merge two OBBRSS.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW OBB obb
OBB member, for rotation.
COAL_DLLAPI CoalScalar distance(const Matrix3s &R0, const Vec3s &T0, const kIOS &b1, const kIOS &b2, Vec3s *P=NULL, Vec3s *Q=NULL)
Approximate distance between two kIOS bounding volumes.
bool operator==(const OBBRSS &other) const
Equality operator.
CoalScalar distance(const OBBRSS &other, Vec3s *P=NULL, Vec3s *Q=NULL) const
Distance between two OBBRSS; P and Q , is not NULL, returns the nearest points.
const Vec3s & center() const
Center of the OBBRSS.
request to the collision algorithm
CoalScalar height() const
Height of the OBBRSS.
COAL_DLLAPI bool overlap(const Matrix3s &R0, const Vec3s &T0, const AABB &b1, const AABB &b2)
Check collision between two aabbs, b1 is in configuration (R0, T0) and b2 is in identity.
OBBRSS operator+(const OBBRSS &other) const
Merge two OBBRSS.
CoalScalar width() const
Width of the OBRSS.
bool overlap(const OBBRSS &other, const CollisionRequest &request, CoalScalar &sqrDistLowerBound) const
Eigen::Matrix< CoalScalar, 3, 3 > Matrix3s
CoalScalar volume() const
Volume of the OBBRSS.
Oriented bounding box class.
bool contain(const Vec3s &p) const
Check whether the OBBRSS contains a point.
bool operator!=(const OBBRSS &other) const
Difference operator.
CoalScalar size() const
Size of the OBBRSS (used in BV_Splitter to order two OBBRSS)
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:58