static _computeOverlappedRectangle(inputRectangle, imageryBounds) {
    const overlappedRectangle = Rectangle.intersection(
      inputRectangle,
      imageryBounds,
      overlappedRectangleScratch,
    );
    if (defined(overlappedRectangle)) {
      return overlappedRectangle;
    }
    return ImageryCoverage._clampRectangle(
      inputRectangle,
      imageryBounds,
      overlappedRectangleScratch,
    );
  }
Compute overlap between the given input rectangle, and the given
bounds that have been obtained from the imagery provider.

@param {Rectangle} inputRectangle The input
@param {Rectangle} imageryBounds The imagery bounds
@returns {Rectangle} The rectangle