Coordinate coordinateTopLeft = getCachedCoordinate(upiTopLeft);
Coordinate coordinateBottomRight = getCachedCoordinate(upiBottomRight);
float xStepSize = (float) (coordinateBottomRight.x() - coordinateTopLeft.x())
/ (float) (xSamples - 1);
float yStepSize = (float) (coordinateBottomRight.y() - coordinateTopLeft.y())
/ (float) (ySamples - 1);
debugLog.debug("relative pixel bounding box: topLeft={},{} bottomRight={},{} stepSize={},{}",
coordinateTopLeft.x(), coordinateTopLeft.y(), coordinateBottomRight.x(),
coordinateBottomRight.y(), xStepSize, yStepSize);