package xmp_parent;

public class Circle extends Shape {
	double radius;

	public Circle(Point llc, double radius) {
		super(llc);
		this.radius = radius;
	}
	public void grow(double factor) { radius *=factor; }
	
	public Point getur() { Point ur=new Point(getllc()); ur=ur.move(2*radius,2*radius); return ur; }
	public Point getCenter() { Point cen=new Point(getllc()); cen=cen.move(radius,radius); return cen; }
	public String toString() { return this.getClass().getSimpleName() +" @ " + getCenter() + " radius="+radius; }

}
