OpenIndy-Core  0.2.0.43
radius.h
Go to the documentation of this file.
1 #ifndef RADIUS_H
2 #define RADIUS_H
3 
4 #include <QObject>
5 
6 #include "element.h"
7 
8 namespace oi{
9 
14 {
15  Q_OBJECT
16 
17 public:
18  explicit Radius(QObject *parent = 0);
19  explicit Radius(const double &r, QObject *parent = 0);
20 
21  Radius(const Radius &copy, QObject *parent = 0);
22 
23  Radius &operator=(const Radius &copy);
24 
25  ~Radius();
26 
27  //#################
28  //get or set radius
29  //#################
30 
31  void setRadius(const double &r);
32 
33  const double &getRadius() const;
34 
35 protected:
36  double radius;
37 
38 };
39 
40 }
41 
42 #endif // RADIUS_H
double radius
Definition: radius.h:36
The Element class.
Definition: element.h:17
Definition: coordinatesystem.h:15
The Radius class.
Definition: radius.h:13
#define OI_CORE_EXPORT
Definition: types.h:11