computeViewRectangle

fun computeViewRectangle(ellipsoid: Ellipsoid? = definedExternally, result: Rectangle? = definedExternally): Rectangle?(source)

Computes the approximate visible rectangle on the ellipsoid.

Return

The visible rectangle or undefined if the ellipsoid isn't visible at all.

Parameters

ellipsoid

The ellipsoid that you want to know the visible region. Default value - Ellipsoid.default

result

The rectangle in which to store the result

See also