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

#include "Rectangle.h"

class Square : public Rectangle
{
public:
	Square();
	Square(double);
	virtual ~Square();
	virtual double getCircumference();
	virtual double getArea();
private:
	const double length;
};

#endif //_SQUARE_H_