33#ifndef DART_DYNAMICS_SPHERESHAPE_HPP_
34#define DART_DYNAMICS_SPHERESHAPE_HPP_
51 const std::string&
getType()
const override;
Definition SphereShape.hpp:42
static double computeVolume(double radius)
Compute volume from given properties.
Definition SphereShape.cpp:85
const std::string & getType() const override
Returns a string representing the shape type.
Definition SphereShape.cpp:53
static Eigen::Matrix3d computeInertia(double radius, double mass)
Compute moments of inertia of a Sphere.
Definition SphereShape.cpp:91
void updateBoundingBox() const override
Updates bounding box.
Definition SphereShape.cpp:115
void updateVolume() const override
Updates volume.
Definition SphereShape.cpp:123
double mRadius
Radius of this Sphere.
Definition SphereShape.hpp:83
virtual ~SphereShape()
Destructor.
Definition SphereShape.cpp:47
void setRadius(double radius)
Set radius of this box.
Definition SphereShape.cpp:66
double getRadius() const
Get radius of this box.
Definition SphereShape.cpp:79
ShapePtr clone() const override
Deep copy shape.
Definition SphereShape.cpp:103
static const std::string & getStaticType()
Returns shape type for this class.
Definition SphereShape.cpp:59
std::shared_ptr< Shape > ShapePtr
Definition SmartPointer.hpp:81
Definition BulletCollisionDetector.cpp:60