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);
Forward declarations for the common classes.
Definition: Animation.hh:33
#define gzwarn
Output a warning message.
Definition: Console.hh:47
#define gzerr
Output an error message.
Definition: Console.hh:50
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:171
Simbody collisions.
Definition: SimbodyCollision.hh:41
virtual void SetRadius(double _radius)
Set the size.
boost::shared_ptr< SimbodyCollision > SimbodyCollisionPtr
Definition: SimbodyTypes.hh:44
Simbody sphere collision.
Definition: SimbodySphereShape.hh:33
virtual void SetRadius(double _radius)
Set the size.
Definition: SimbodySphereShape.hh:43
virtual ~SimbodySphereShape()
Destructor.
Definition: SimbodySphereShape.hh:40
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:104
SimbodySphereShape(CollisionPtr _parent)
Constructor.
Definition: SimbodySphereShape.hh:37
Sphere collision shape.
Definition: SphereShape.hh:44