38 #ifndef FCL_COLLISION_GEOMETRY_INL_H 39 #define FCL_COLLISION_GEOMETRY_INL_H 53 : aabb_center(
Vector3<S>::Zero()),
57 threshold_occupied((S)1),
102 return cost_density >= threshold_occupied;
106 template <
typename S>
109 return cost_density <= threshold_free;
113 template <
typename S>
116 return !isOccupied() && !isFree();
120 template <
typename S>
127 template <
typename S>
134 template <
typename S>
141 template <
typename S>
153 S V = computeVolume();
156 m << C(0, 0) - V * (com[1] * com[1] + com[2] * com[2]),
157 C(0, 1) + V * com[0] * com[1],
158 C(0, 2) + V * com[0] * com[2],
159 C(1, 0) + V * com[1] * com[0],
160 C(1, 1) - V * (com[0] * com[0] + com[2] * com[2]),
161 C(1, 2) + V * com[1] * com[2],
162 C(2, 0) + V * com[2] * com[0],
163 C(2, 1) + V * com[2] * com[1],
164 C(2, 2) - V * (com[0] * com[0] + com[1] * com[1]);
NODE_TYPE
traversal node type: bounding volume (AABB, OBB, RSS, kIOS, OBBRSS, KDOP16, KDOP18, kDOP24), basic shape (box, sphere, ellipsoid, capsule, cone, cylinder, convex, plane, halfspace, triangle), and octree
template class FCL_EXPORT CollisionGeometry< double >
Eigen::Matrix< S, 3, 3 > Matrix3
Eigen::Matrix< S, 3, 1 > Vector3
The geometry for the object for collision or distance computation.
OBJECT_TYPE
object type: BVH (mesh, points), basic geometry, octree