public Ellipse(double r, int dim = 2) { Vector <double> rad = new Vector <double>(dim); for (int i = 0; i < dim; i++) { rad[i] = r; } this.r = rad; myDraw = DrawableFactory.MakeEllipse(this.r, new GraphicsStyle(null, Pens.Red)); }
public Ellipse(Particle rad) { r = rad; myDraw = DrawableFactory.MakeEllipse(r, new GraphicsStyle(null, Pens.Red)); }