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