예제 #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;
 }