fromCartographicArray

fun fromCartographicArray(cartographics: ReadonlyArray<Cartographic>, result: Rectangle? = definedExternally): Rectangle(source)

Creates the smallest possible Rectangle that encloses all positions in the provided array.

Return

The modified result parameter or a new Rectangle instance if none was provided.

Parameters

cartographics

The list of Cartographic instances.

result

The object onto which to store the result, or undefined if a new instance should be created.

See also