示例#1
0
 public Circle(Point2d center, float radius)
 {
     Center = center;
     Radius = radius;
 }
示例#2
0
 public bool OverlapWith(Circle circle)
 {
     return(Radius + circle.Radius < Point2d.Distance(Center, circle.Center));
 }
示例#3
0
 public Circle(float x, float z, float radius)
 {
     Center = new Point2d(x, z);
     Radius = radius;
 }