33#ifndef DART_DYNAMICS_CYLINDERSHAPE_HPP_
34#define DART_DYNAMICS_CYLINDERSHAPE_HPP_
48 const std::string&
getType()
const override;
70 double radius,
double height,
double mass);
Definition CylinderShape.hpp:42
static const std::string & getStaticType()
Returns shape type for this class.
Definition CylinderShape.cpp:57
void updateVolume() const override
Updates volume.
Definition CylinderShape.cpp:126
void setRadius(double _radius)
Definition CylinderShape.cpp:70
static double computeVolume(double radius, double height)
Compute volume from given properties.
Definition CylinderShape.cpp:98
double getRadius() const
Definition CylinderShape.cpp:64
void setHeight(double _height)
Definition CylinderShape.cpp:87
double getHeight() const
Definition CylinderShape.cpp:81
double mRadius
Definition CylinderShape.hpp:84
double mHeight
Height along z-axis.
Definition CylinderShape.hpp:87
const std::string & getType() const override
Returns a string representing the shape type.
Definition CylinderShape.cpp:51
static Eigen::Matrix3d computeInertia(double radius, double height, double mass)
Compute moments of inertia of a cylinder.
Definition CylinderShape.cpp:104
void updateBoundingBox() const override
Updates bounding box.
Definition CylinderShape.cpp:118
Definition BulletCollisionDetector.cpp:60