/*public class AppliFigures 
{
	public static int main (String[]arg)
	{
		Point p = new Point("P1", 5, 3);
		System.out.println(p);
		Cercle c = new Cercle("C1", P, 15);
		System.out.println (C);
	}
}*/

public class Cercle 
{
	
	private Point centre;
	private int rayon;
	private String nom;
	
	public Cercle (String nomInit, Point centreInit, int rayonInit)
	{
		this.nom = nomInit;
		this.centre = centreInit;
		this.rayon = rayonInit;
	}

	public String getNom()
	{
		return this.nom;
	}

	public Point getCentre()
	{
		return this.centre;
	}

	public int getRayon()
	{
		return this.rayon;
	}

	public String toString()
	{
		return this.getNom() + "[" + this.getCentre() + ";" + this.getRayon() + "]";
	}
}