// Create a rectangle representing the bounding box.
boundingBox = new Rectangle2D.Double(left, bottom, right - left, top - bottom);
// Calculate the maximum and minimum tile values for the bounding box.
calculatedTile = (int) tileCalculator.calculateTile(top, left);
tmpMaximumTile = calculatedTile;
tmpMinimumTile = calculatedTile;
calculatedTile = (int) tileCalculator.calculateTile(top, right);
if (tileOrdering.compare(calculatedTile, tmpMinimumTile) < 0) {