function updateS2CellHeights(s2CellVolume, minimumHeight, maximumHeight) {
  if (defined(minimumHeight)) {
    s2CellVolume.minimumHeight = minimumHeight;
  }

  if (defined(maximumHeight)) {
    s2CellVolume.maximumHeight = maximumHeight;
  }
}
For a bounding S2 cell, update the minimum and maximum height. This
is typically used to tighten a bounding volume using the
<code>TILE_MINIMUM_HEIGHT</code> and <code>TILE_MAXIMUM_HEIGHT</code>
semantics. Heights are only updated if the respective
minimumHeight/maximumHeight parameter is defined.

@param {object} s2CellVolume An object describing the S2 cell
@param {number} [minimumHeight] The new minimum height
@param {number} [maximumHeight] The new maximum height
@private