public bool Intersect(Circle2D other) { var diff = other.GetCenter() - center; return(diff.Length < radius + other.GetRadius()); }
public bool IntersectCircle(Circle2D circle) { return(IntersectCircle(circle.GetCenter(), circle.GetRadius())); }
public bool Contains(Circle2D other) { var diff = other.GetCenter() - center; return(diff.Length + other.radius < radius); }