Center at zero cone. More...
#include <hpp/fcl/shape/geometric_shapes.h>
Public Member Functions | |
Cone (FCL_REAL radius_, FCL_REAL lz_) | |
void | computeLocalAABB () |
Compute AABB. | |
NODE_TYPE | getNodeType () const |
Get node type: a cone. | |
FCL_REAL | computeVolume () const |
compute the volume | |
Matrix3f | computeMomentofInertia () const |
compute the inertia matrix, related to the origin | |
Vec3f | computeCOM () const |
compute center of mass | |
Public Attributes | |
FCL_REAL | radius |
Radius of the cone. | |
FCL_REAL | lz |
Length along z axis. |
Center at zero cone.
Vec3f fcl::Cone::computeCOM | ( | ) | const [inline, virtual] |
void fcl::Cone::computeLocalAABB | ( | ) | [virtual] |
Compute AABB.
Implements fcl::CollisionGeometry.
Matrix3f fcl::Cone::computeMomentofInertia | ( | ) | const [inline, virtual] |
compute the inertia matrix, related to the origin
Reimplemented from fcl::CollisionGeometry.
References computeVolume(), lz, and radius.
FCL_REAL fcl::Cone::computeVolume | ( | ) | const [inline, virtual] |
compute the volume
Reimplemented from fcl::CollisionGeometry.
Referenced by computeMomentofInertia().
NODE_TYPE fcl::Cone::getNodeType | ( | ) | const [inline, virtual] |
Length along z axis.
Referenced by computeCOM(), computeMomentofInertia(), computeVolume(), and fcl::generateBVHModel().
Radius of the cone.
Referenced by computeMomentofInertia(), computeVolume(), and fcl::generateBVHModel().