public class Cercle extends Figure
{
	Point centre;
	int rayon;
	
	public Cercle( Point p , int r , String s )
	{
		super(s);
		this.centre = p;
		this.rayon = r;
	}
	
	public double surface()
	{
		return Math.PI*Math.pow(rayon,2);
	}
	
	public double perimetre()
	{
		return 2*Math.PI*rayon;
	}
	
	public void translater( int depHor , int depVert)
	{
		centre.translater(depHor,depVert);
	}
		
	public Point getCentre()
	{
		return this.centre;
	}

	public int getRayon()
	{
		return this.rayon;
	}

}