summaryrefslogtreecommitdiff
path: root/cercle.h
blob: c4a59237eeb67f6636750cff6ba2b6ee556ee190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __CERCLE_H__
#define __CERCLE_H__

#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 aire();
    double getPerimetre();
    void   afficher(ostream & s);
};

#endif