Go to the documentation of this file.
46 struct CollisionRequest;
94 Eigen::Array<CoalScalar, N, 1>
dist_;
97 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
110 return (dist_ == other.
dist_).all();
115 return (dist_ != other.
dist_).any();
130 Vec3s* Q = NULL)
const;
143 return width() * width() + height() * height() + depth() * depth();
148 return (dist_.template head<3>() + dist_.template segment<3>(N / 2)) / 2;
168 bool inside(
const Vec3s& p)
const;
Eigen::Matrix< CoalScalar, 3, 1 > Vec3s
CoalScalar & dist(short i)
bool operator!=(const KDOP &other) const
Difference operator.
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.
Eigen::Array< CoalScalar, N, 1 > dist_
Origin's distances to N KDOP planes.
Vec3s center() const
The (AABB) center.
#define COAL_THROW_PRETTY(message, exception)
bool operator==(const KDOP &other) const
Equality operator.
request to the collision algorithm
static AABB translate(const AABB &aabb, const Vec3s &t)
translate the center of AABB by t
CoalScalar volume() const
The (AABB) volume.
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.
KDOP class describes the KDOP collision structures. K is set as the template parameter,...
CoalScalar depth() const
The (AABB) depth.
CoalScalar dist(short i) const
Eigen::Matrix< CoalScalar, 3, 3 > Matrix3s
CoalScalar height() const
The (AABB) height.
CoalScalar size() const
Size of the kDOP (used in BV_Splitter to order two kDOPs)
CoalScalar width() const
The (AABB) width.
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:58