Go to the documentation of this file.
23 template <
typename NT>
30 std::invalid_argument);
45 return extractBVHtpl<AABB>(model, pose, aabb);
47 return extractBVHtpl<OBB>(model, pose, aabb);
49 return extractBVHtpl<RSS>(model, pose, aabb);
51 return extractBVHtpl<kIOS>(model, pose, aabb);
53 return extractBVHtpl<OBBRSS>(model, pose, aabb);
55 return extractBVHtpl<KDOP<16> >(model, pose, aabb);
57 return extractBVHtpl<KDOP<18> >(model, pose, aabb);
59 return extractBVHtpl<KDOP<24> >(model, pose, aabb);
virtual NODE_TYPE getNodeType() const
get the node type
BVHModel< BV > * BVHExtract(const BVHModel< BV > &model, const Transform3s &pose, const AABB &_aabb)
Extract the part of the BVHModel that is inside an AABB. A triangle in collision with the AABB is con...
The geometry for the object for collision or distance computation.
CollisionGeometry * extractBVH(const CollisionGeometry *model, const Transform3s &pose, const AABB &aabb)
A class describing the AABB collision structure, which is a box in 3D space determined by two diagona...
virtual OBJECT_TYPE getObjectType() const
get the type of the object
bool overlap(const AABB &other) const
Check whether two AABB are overlap.
COAL_DLLAPI CollisionGeometry * extract(const CollisionGeometry *model, const Transform3s &pose, const AABB &aabb)
#define COAL_THROW_PRETTY(message, exception)
AABB aabb_local
AABB in local coordinate, used for tight AABB when only translation transform.
CoalScalar aabb_radius
AABB radius.
static AABB translate(const AABB &aabb, const Vec3s &t)
translate the center of AABB by t
static AABB rotate(const AABB &aabb, const Matrix3s &R)
A class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewed as ...
CollisionGeometry * extractBVHtpl(const CollisionGeometry *model, const Transform3s &pose, const AABB &aabb)
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:57