function getEllipsoidChunkObb(
  rectangle,
  minHeight,
  maxHeight,
  ellipsoid,
  translation,
  rotation,
  result,
) {
  result = OrientedBoundingBox.fromRectangle(
    rectangle,
    minHeight,
    maxHeight,
    ellipsoid,
    result,
  );
  result.center = Cartesian3.add(result.center, translation, result.center);
  result.halfAxes = Matrix3.multiply(
    result.halfAxes,
    rotation,
    result.halfAxes,
  );
  return result;
}
Computes an {@link OrientedBoundingBox} for a subregion of the shape.

@function

@param {Rectangle} rectangle The rectangle.
@param {number} minHeight The minimumZ.
@param {number} maxHeight The maximumZ.
@param {Ellipsoid} ellipsoid The ellipsoid.
@param {Cartesian3} translation The translation applied to the shape
@param {Matrix3} rotation The rotation applied to the shape
@param {OrientedBoundingBox} result The object onto which to store the result.
@returns {OrientedBoundingBox} The oriented bounding box that contains this subregion.

@private