summaryrefslogtreecommitdiff
path: root/sem_3/Programm/TP2/ex1/itv.h
blob: e8835cd52330694aa38699c662a0ea15f9676517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class Itv {
  private :
  float borneinf, bornesup;
  public :
  Itv();
  Itv(float,float);
  float lenght();
  void afficher();
  bool appartient(float);
  void modifborne(int,float);
  float getborne(int);

  bool estegal (Itv);
  bool estinclusstr(Itv);
  bool disjoint(Itv);
  bool accole(Itv);
  bool imbrique(Itv);
  void translat(float);

};