18 #ifndef _SIMBODY_SPHERE_SHAPE_HH_
19 #define _SIMBODY_SPHERE_SHAPE_HH_
47 gzerr <<
"Sphere shape does not support negative radius\n";
55 gzwarn <<
"Setting sphere shape's radius to zero \n";
62 this->collisionParent);
#define gzwarn
Output a warning message.
Definition: Console.hh:44
#define gzerr
Output an error message.
Definition: Console.hh:47
bool equal(const T &_a, const T &_b, const T &_epsilon=1e-6)
check if two values are equal, within a tolerance
Definition: Helpers.hh:168
virtual ~SimbodySphereShape()
Destructor.
Definition: SimbodySphereShape.hh:40
Simbody collisions.
Definition: SimbodyCollision.hh:41
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:94
SimbodySphereShape(CollisionPtr _parent)
Constructor.
Definition: SimbodySphereShape.hh:37
boost::shared_ptr< SimbodyCollision > SimbodyCollisionPtr
Definition: SimbodyTypes.hh:41
virtual void SetRadius(double _radius)
Set the size.
Definition: SimbodySphereShape.hh:43
Simbody sphere collision.
Definition: SimbodySphereShape.hh:33
virtual void SetRadius(double _radius)
Set the size.
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
Sphere collision shape.
Definition: SphereShape.hh:38