#include "Cercle.hxx"

#include <iostream>

ostream &operator<<(ostream &o,const Cercle &a)
{
  o << "Affichage d'un cercle " << endl;
  o << (ObjetGraphique &)(const_cast<Cercle &>(a));
  o << "Rayon : " << a.rayon_ << endl;
  return o;
}

void Cercle::afficher(ostream &a)const
{
  a << *this;
}


void Cercle::afficher() const
{
  afficher(cout);
}

Cercle::~Cercle()
{
  cout << "Destruction d'un cercle d'adresse " << this << endl;
}
