import math


def imagingBox(positionX, positionY, altitude, cameraFovX, cameraFovY):
    spanX = math.tan(math.radians(cameraFovX / 2)) * altitude
    spanY = math.tan(math.radians(cameraFovY / 2)) * altitude
    xMin = positionX - spanX
    xMax = positionX + spanX
    yMin = positionY - spanY
    yMax = positionY + spanY
    return xMin, xMax, yMin, yMax

8862e7a420dfc23ea93b705e5eb61a7d2a34a723
<mask token>

<mask token>


def imagingBox(positionX, positionY, altitude, cameraFovX, cameraFovY):
    spanX = math.tan(math.radians(cameraFovX / 2)) * altitude
    spanY = math.tan(math.radians(cameraFovY / 2)) * altitude
    xMin = positionX - spanX
    xMax = positionX + spanX
    yMin = positionY - spanY
    yMax = positionY + spanY
    return xMin, xMax, yMin, yMax

import math


def imagingBox(positionX, positionY, altitude, cameraFovX, cameraFovY):
    spanX = math.tan(math.radians(cameraFovX / 2)) * altitude
    spanY = math.tan(math.radians(cameraFovY / 2)) * altitude
    xMin = positionX - spanX
    xMax = positionX + spanX
    yMin = positionY - spanY
    yMax = positionY + spanY
    return xMin, xMax, yMin, yMax
