Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 13 / ShapeCollection / Circle.h
blob: fbce69593337ed88e107c3822742cfa0d323c65d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include "Shape.h"

class Circle : public Shape
{
	double radius;

public:
	Circle(int x, int y, double radius);

	double getArea() const override;
	double getPer() const override; 
	bool isPointIn(int x, int y) const override;
	Shape* clone() const override;
};