Go to the documentation of this file.
18 #ifndef IGNITION_RENDERING_CAPSULE_HH_
19 #define IGNITION_RENDERING_CAPSULE_HH_
29 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
32 class IGNITION_RENDERING_VISIBLE
Capsule :
39 public:
virtual void SetRadius(
double _radius) = 0;
42 public:
virtual void SetLength(
double _length) = 0;
45 public:
virtual double Radius()
const = 0;
48 public:
virtual double Length()
const = 0;
virtual void SetRadius(double _radius)=0
Set the radius of the capsule.
virtual double Radius() const =0
Get the radius of the capsule.
virtual ~Capsule()
Destructor.
Definition: gz/rendering/Capsule.hh:36
Geometry for a capsule shape.
Definition: gz/rendering/Capsule.hh:32
virtual double Length() const =0
Get the length of the capsule.
virtual void SetLength(double _length)=0
Set the length of the capsule.
Represents a geometric shape to be rendered.
Definition: gz/rendering/Geometry.hh:34