public CircleS(double x, double y, double rad) { this.rad = rad; center = new PointS(x, y); }
public int Distance(PointS a, PointS b) { return((int)Math.Sqrt((a.X * a.X - b.X * b.X) + (a.Y * a.y - b.Y * b.Y))); }
public double Distance(PointS other) { return(Math.Sqrt((x - other.x) * (x - other.x) + (y - other.y) * (y - other.y))); }