38 #ifndef FCL_SHAPE_BOX_H 39 #define FCL_SHAPE_BOX_H 41 #include "fcl/geometry/shape/shape_base.h" 47 template <
typename S_>
88 #include "fcl/geometry/shape/box-inl.h" 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
Definition: collision_geometry.h:54
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
Base class for all basic geometric shapes.
Definition: shape_base.h:48
void computeLocalAABB() override
Compute AABB.
Definition: box-inl.h:76
S computeVolume() const override
compute the volume
Definition: box-inl.h:95
Matrix3< S > computeMomentofInertia() const override
compute the inertia matrix, related to the origin
Definition: box-inl.h:102
Box()
Constructor.
Definition: box-inl.h:68
NODE_TYPE getNodeType() const override
Get node type: a box.
Definition: box-inl.h:88
Center at zero point, axis aligned box.
Definition: box.h:48
Vector3< S > side
box side length
Definition: box.h:64
std::vector< Vector3< S > > getBoundVertices(const Transform3< S > &tf) const
get the vertices of some convex shape which can bound this shape in a specific configuration ...
Definition: box-inl.h:117