Esempio n. 1
0
 public CircleS(double x, double y, double r)
 {
     center = new PointS(x, y);
     rad    = r;
 }
Esempio n. 2
0
 public double Distance(PointS other)
 {
     return(Math.Sqrt(Math.Pow(x - other.x, 2) + Math.Pow(y - other.y, 2)));
 }