/*
 * DrawableRigidCircle.java
 *
 * Created on November 6, 2004, 3:48 AM
 */

package JSciDraw.physics;
import JSci.physics.ClassicalParticle2D;
import JSci.maths.*;
import java.awt.Graphics2D;
import java.awt.geom.Ellipse2D;
import java.awt.geom.Area;
import java.awt.geom.AffineTransform;
import java.awt.Shape;
//import JSciDraw.Drawable;
import java.awt.Color;
/**
 *
 * @author  arturo
 */
public class DrawableRigidCircleV2D extends DrawableRigidBodyV2D {
    double radius;
    /** Creates a new instance of DrawableRigidCircle */
    public DrawableRigidCircleV2D() { }
    public void setRadius(double r) {
        radius = r;
        area = new Ellipse2D.Double(-r,-r,2*r ,2*r);
    }
}