summaryrefslogtreecommitdiffstats
path: root/Bachelor/Prog2/Prakt2/geomObj/Rectangle.h
blob: 586110aaed7ebc0426a4a9c4d5a303255ff748fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _RECTANGLE_H_
#define _RECTANGLE_H_

#include "Shape.h"

class Rectangle : public Shape
{
public:
	Rectangle();
	Rectangle(double,double);
	virtual ~Rectangle();
	virtual double getArea();
	virtual double getCircumference();
private:
	const double sideA;
	const double sideB;
};

#endif //_RECTANGLE_H_