summaryrefslogtreecommitdiffstats
path: root/Bachelor/Prog2/Prakt2/geomObj/Circle.h
diff options
context:
space:
mode:
Diffstat (limited to 'Bachelor/Prog2/Prakt2/geomObj/Circle.h')
-rw-r--r--Bachelor/Prog2/Prakt2/geomObj/Circle.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Bachelor/Prog2/Prakt2/geomObj/Circle.h b/Bachelor/Prog2/Prakt2/geomObj/Circle.h
new file mode 100644
index 0000000..580b254
--- /dev/null
+++ b/Bachelor/Prog2/Prakt2/geomObj/Circle.h
@@ -0,0 +1,18 @@
+#ifndef _CIRCLE_H_
+#define _CIRCLE_H_
+
+#include "Shape.h"
+
+class Circle : public Shape
+{
+public:
+ Circle();
+ Circle(double);
+ virtual ~Circle();
+ virtual double getArea();
+ virtual double getCircumference();
+private:
+ const double radius;
+};
+
+#endif //_CIRCLE_H_