Class Cylinder

Inheritance Relationships

Base Type

Class Documentation

class Cylinder : public hpp::fcl::ShapeBase

Cylinder along Z axis. The cylinder is defined at its centroid.

Public Functions

inline Cylinder()

Default constructor.

inline Cylinder(FCL_REAL radius_, FCL_REAL lz_)
inline Cylinder(const Cylinder &other)
inline Cylinder &operator=(const Cylinder &other)
inline virtual Cylinder *clone() const

Clone *this into a new Cylinder.

virtual void computeLocalAABB()

Compute AABB.

inline virtual NODE_TYPE getNodeType() const

Get node type: a cylinder.

inline virtual FCL_REAL computeVolume() const

compute the volume

inline virtual Matrix3f computeMomentofInertia() const

compute the inertia matrix, related to the origin

inline FCL_REAL minInflationValue() const
inline std::pair<Cylinder, Transform3f> inflated(const FCL_REAL value) const

Inflate the cylinder by an amount given by value.

Parameters:

value[in] of the shape inflation.

Returns:

a new inflated cylinder and the related transform to account for the change of shape frame

Public Members

FCL_REAL radius

Radius of the cylinder.

FCL_REAL halfLength

Half Length along z axis.