1. override
bool intersects(Rectangle<num> r)

Returns true if this intersects other.

Source

@override
bool intersects(math.Rectangle<num> r) {
  return left < r.right && right > r.left && top < r.bottom && bottom > r.top;
}