33#ifndef DART_DYNAMICS_CYLINDERSHAPE_HPP_
34#define DART_DYNAMICS_CYLINDERSHAPE_HPP_
47 const std::string&
getType()
const override;
69 double radius,
double height,
double mass);
Definition CylinderShape.hpp:41
static const std::string & getStaticType()
Returns shape type for this class.
Definition CylinderShape.cpp:58
void updateVolume() const override
Updates volume.
Definition CylinderShape.cpp:127
void setRadius(double _radius)
Definition CylinderShape.cpp:71
static double computeVolume(double radius, double height)
Compute volume from given properties.
Definition CylinderShape.cpp:99
double getRadius() const
Definition CylinderShape.cpp:65
void setHeight(double _height)
Definition CylinderShape.cpp:88
double getHeight() const
Definition CylinderShape.cpp:82
double mRadius
Definition CylinderShape.hpp:83
double mHeight
Height along z-axis.
Definition CylinderShape.hpp:86
const std::string & getType() const override
Returns a string representing the shape type.
Definition CylinderShape.cpp:52
static Eigen::Matrix3d computeInertia(double radius, double height, double mass)
Compute moments of inertia of a cylinder.
Definition CylinderShape.cpp:105
void updateBoundingBox() const override
Updates bounding box.
Definition CylinderShape.cpp:119
Definition BulletCollisionDetector.cpp:63