コード例 #1
0
 public CircleC(double x, double y, double radius)
 {
     rad    = radius;
     center = new PointS(x, y);
 }
コード例 #2
0
 public double Distance(PointS point)
 {
     return(Math.Sqrt((x - point.x) * (x - point.x) + (y - point.y) * (y - point.y)));
 }