Class Cylinder
Defined in File geometric_shapes.h
Inheritance Relationships
Base Type
public coal::ShapeBase(Class ShapeBase)
Class Documentation
-
class Cylinder : public coal::ShapeBase
Cylinder along Z axis. The cylinder is defined at its centroid.
Public Functions
-
inline Cylinder()
Default constructor.
-
inline virtual Matrix3s computeMomentofInertia() const
compute the inertia matrix, related to the origin
-
inline std::pair<Cylinder, Transform3s> inflated(const Scalar value) const
Inflate the cylinder by an amount given by
value. This value can be positive or negative but must always >=minInflationValue().- Parameters:
value – [in] of the shape inflation.
- Returns:
a new inflated cylinder and the related transform to account for the change of shape frame
-
inline Cylinder()