/*
 * RigidLineV2D.java
 *
 * Created on 22 grudzień 2004, 00:17
 */

package JSciDraw.physics;

import JSci.physics.ClassicalParticle2D;
import JSci.maths.*;
import java.awt.Graphics2D;
import java.awt.geom.Line2D;
import java.awt.geom.Rectangle2D;
import java.awt.geom.Line2D;
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 DrawableRigidRectangleV2D extends DrawableRigidBodyV2D {

    double a,b;
    /** Creates a new instance of DrawableRigidCircle */
    public DrawableRigidRectangleV2D() { 
    }
    public void setEdge(double a,double b) {
        area = new Rectangle2D.Double(-a/2,-b/2,a,b);
        this.a = a; this.b = b;
    }
}
