summaryrefslogtreecommitdiff
path: root/cercle.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-01-12 23:40:59 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2023-01-12 23:40:59 -0500
commitb4f16386c70bfeab700e7cc129f2f04295aa0059 (patch)
tree8211e50bdf4f22eed2d2f2a19166e3a6f4ae5155 /cercle.h
parent0ef3e40f726f35b86d79426104234d815cea2bb9 (diff)
vecteur est fomrmes sont finis
Diffstat (limited to 'cercle.h')
-rw-r--r--cercle.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/cercle.h b/cercle.h
new file mode 100644
index 0000000..d3eca66
--- /dev/null
+++ b/cercle.h
@@ -0,0 +1,14 @@
+#include "forme.h"
+
+class Cercle:Forme {
+ private:
+ int rayon;
+ public:
+ Cercle(int x, int y, int r);
+ ~Cercle();
+ void setRayon(int r);
+ int getRayon();
+ double getAire();
+ double getPerimetre();
+ void afficher(ostream & s);
+};