Exemplo n.º 1
0
 public bool IntersectCircle(Circle2D circle)
 {
     return(IntersectCircle(circle.GetCenter(), circle.GetRadius()));
 }
Exemplo n.º 2
0
        public bool Intersect(Circle2D other)
        {
            var diff = other.GetCenter() - center;

            return(diff.Length < radius + other.GetRadius());
        }