intersects

fun intersects(other: Bounds, diameter: Int): Boolean

Determines whether:

  1. This Bounds intersects the other Bounds

  2. Circles drawn from the center of each Bounds intersect the other

  3. Circles drawn from the center of each Bounds intersect the other Bounds

Return

True if intersect happens

Parameters

other

The other bounds

diameter

The diameter used when drawing circles