38 #ifndef FCL_SHAPE_SPHERE_H    39 #define FCL_SHAPE_SPHERE_H    41 #include "fcl/geometry/shape/shape_base.h"    47 template <
typename S_>
    79 #include "fcl/geometry/shape/sphere-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
 
Matrix3< S > computeMomentofInertia() const override
compute the inertia matrix, related to the origin 
Definition: sphere-inl.h:75
 
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: sphere-inl.h:91
 
void computeLocalAABB() override
Compute AABB<S> 
Definition: sphere-inl.h:58
 
S radius
Radius of the sphere. 
Definition: sphere.h:57
 
Center at zero point sphere. 
Definition: sphere.h:48
 
S computeVolume() const override
compute the volume 
Definition: sphere-inl.h:84
 
NODE_TYPE getNodeType() const override
Get node type: a sphere. 
Definition: sphere-inl.h:69