static _localizeToCartesianRectangle(rectangleA, rectangleB, result) {
    if (!defined(result)) {
      result = new CartesianRectangle();
    }
    const invX = 1.0 / rectangleB.width;
    const invY = 1.0 / rectangleB.height;
    result.minX = (rectangleA.west - rectangleB.west) * invX;
    result.minY = (rectangleA.south - rectangleB.south) * invY;
    result.maxX = (rectangleA.east - rectangleB.west) * invX;
    result.maxY = (rectangleA.north - rectangleB.south) * invY;
    return result;
  }
Compute the coordinates of the first rectangle relative to the
second rectangle.

The result will describe the bounds of the first rectangle
in coordinates that are relative to the (south,west) and
(width, height) of the second rectangle. This is suitable
for describing the texture coordinates of the first
rectangle within the second one.

The result will be stored in the given result parameter, or
in a new rectangle if the result was undefined.

@param {Rectangle} rectangleA The first rectangle
@param {Rectangle} rectangleB The second rectangle
@param {CartesianRectangle} [result] The result
@returns {CartesianRectangle} The result